Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove bucket limit on getDownloadsOverTimeByPython query #112

Closed
wants to merge 3 commits into from

Conversation

lio-p
Copy link
Contributor

@lio-p lio-p commented Dec 23, 2024

Remove bucket limit on getDownloadsOverTimeByPython query

Group by Others when there is more than 10 values in the serie.

Close #105

Group by Others when there is more than 10 values in the serie
@lio-p lio-p requested a review from gingerwizard December 23, 2024 16:21
Copy link

vercel bot commented Dec 23, 2024

@lio-p is attempting to deploy a commit to the ClickHouse Team on Vercel.

A member of the Team first needs to authorize it.

@@ -468,7 +468,7 @@ export async function getDownloadsOverTimeByPython({package_name, version, min_d
AND ${version ? `version={version:String}`: '1=1'} AND python_minor != ''
AND ${country_code ? `country_code={country_code:String}`: '1=1'} AND ${type ? `type={type:String}`: '1=1'}
GROUP BY name, x
ORDER BY x ASC, y DESC LIMIT 4 BY x`, {
ORDER BY x ASC, y DESC`, {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get the query to just return 10 and then buckets rest as others?

Copy link

vercel bot commented Dec 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clickpy ❌ Failed (Inspect) Dec 24, 2024 4:25pm

@lio-p lio-p closed this Dec 24, 2024
@lio-p lio-p deleted the remove-limit-buckets-download branch December 24, 2024 16:40
@lio-p
Copy link
Contributor Author

lio-p commented Jan 2, 2025

Close PR - Leaked password. Already rotated.

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.

Misleading "Downloads by Python version over time" is only showing a subset of used versions
2 participants