Skip to content

Conversation

@DamianMaslanka5
Copy link

@DamianMaslanka5 DamianMaslanka5 commented Jul 21, 2025

Currently some queries don't work

see #17

related to #23

This is just a draft, to check if it is easy to validate these queries, @Blargian feel free to finish this PR and make it mergable, or close this PR. I will probably not be finishing these changes.

Also it looks like queries.json is outdated or it is not in sync with examples available https://sql.clickhouse.com. For example, I don't see Recent releases for popular gems in Example queries > rubygems

all errors

Error validating query Airport with most departures: demo: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(origin, longitude_1, latitude_1, longitude_2, latitude_2) ON opensky.opensky. 
Error validating query Recent releases: Substitution `packages` is not set. 
Error validating query Most liked posts: Timeout error.
Error validating query Top event types by count: Unknown expression or function identifier `posts` in scope SELECT event, sum(posts) AS posts FROM bluesky.top_event_types GROUP BY event ORDER BY posts DESC. Maybe you meant: ['posts']. 
Error validating query Gem downloads by version over time: demo: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(`user_agent.ruby`, timestamp, gem) ON rubygems.downloads. (Missing permissions: SELECT(`user_agent.ruby`) ON rubygems.downloads). 
Error validating query Gem downloads by system over time: demo: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(`user_agent.platform.os`, timestamp, gem) ON rubygems.downloads. (Missing permissions: SELECT(`user_agent.platform.os`) ON rubygems.downloads).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant