You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "pepijnve (via GitHub)" <gi...@apache.org> on 2025/06/19 12:19:04 UTC
[PR] Make clickbench query IDs 1-based [datafusion]
pepijnve opened a new pull request, #16455:
URL: https://github.com/apache/datafusion/pull/16455
Using 1 as the basis index makes it easier to correlate benchmark runs with query files in an editor
## Which issue does this PR close?
None
## Rationale for this change
Clickbench query IDs are currently zero-based, while most (if not all) text editors are 1-based when it comes to line numbering. Using 1-based ids makes it easier to correlate benchmark output with the query files.
Additionally TPCH IDs are already 1-based, so this aligns the two.
## What changes are included in this PR?
Change clickbench runner to start counting at 1.
## Are these changes tested?
Manual testing
## Are there any user-facing changes?
Clickbench query IDs in benchmark output are all incremented by one
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "pepijnve (via GitHub)" <gi...@apache.org>.
pepijnve commented on PR #16455:
URL: https://github.com/apache/datafusion/pull/16455#issuecomment-2988864943
Ok, that’s probably a stronger argument for keeping things as is
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "AdamGS (via GitHub)" <gi...@apache.org>.
AdamGS commented on PR #16455:
URL: https://github.com/apache/datafusion/pull/16455#issuecomment-2990259096
I'm not a maintainer but I feel your pain always to do that small mental jump when looking for a specific query. I think that's a fine solution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "pepijnve (via GitHub)" <gi...@apache.org>.
pepijnve commented on PR #16455:
URL: https://github.com/apache/datafusion/pull/16455#issuecomment-2990302693
Ok, thanks for your opinion. Little developer quality of life improvements like this are worth it imo. I'll make a PR that contains the necessary code changes and a little bash script that pulls the query file from the upstream clickbench repo and splits it out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "pepijnve (via GitHub)" <gi...@apache.org>.
pepijnve commented on PR #16455:
URL: https://github.com/apache/datafusion/pull/16455#issuecomment-2991261702
Take 2 in #16476
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "pepijnve (via GitHub)" <gi...@apache.org>.
pepijnve commented on PR #16455:
URL: https://github.com/apache/datafusion/pull/16455#issuecomment-2990187740
@AdamGS would a PR that splits queries.sql into a file per query be acceptable? There's precedent for that in some of the other benchmarks, and that seems to be a reasonable compromise between maintaining consistent query IDs on the one hand and enabling trivial lookup on the other hand.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "pepijnve (via GitHub)" <gi...@apache.org>.
pepijnve closed pull request #16455: Make clickbench query IDs 1-based
URL: https://github.com/apache/datafusion/pull/16455
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Make clickbench query IDs 1-based [datafusion]
Posted by "AdamGS (via GitHub)" <gi...@apache.org>.
AdamGS commented on PR #16455:
URL: https://github.com/apache/datafusion/pull/16455#issuecomment-2988832498
But Clickbench treats/displays them as 0-based
<img width="598" alt="Screenshot 2025-06-19 at 19 08 50" src="https://github.com/user-attachments/assets/64742df1-dd95-4004-b1ed-a8218e68cdc7" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org