You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DISCUSSION] Challenge: Make DataFusion the fastest engine in ClickBench with custom file format #13448
A natural follow-on question is “what would it take to make it the fastest overall engine”?
Describe the solution you'd like
TLDR is that I think it needs a special file format. A custom format is fine and consistent with other systems in ClickBench which use various proprietary formats.
So, as a fascinating experiment / academic project, someone could be design / hack up a “ClickBench” file format and DataFusion TableProvider, specifically designed for getting the fastest ClickBench results.
While I suspect this format would not be particularly general purpose, I think it would show How easy it is to make custom formats for particular use cases with DataFusion (don’t have to worry about all the rest of the query engine machinery)
Activity
alamb commentedon Nov 17, 2024
BTW here is an example of how to create a custom file format in DataFusion: https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/custom_file_format.rs
alamb commentedon Dec 8, 2024
It might be really interesting to use the Vortex file format: https://blog.spiraldb.com/trick-or-treating-with-vortex/
(which also integrates into DataFusion)
This file format uses a bunch of cutting edge techniques like FSST, ALP, Fast Lanes 🤔
alamb commentedon May 22, 2025
Vortex is well on their way to achieving this goal: (thanks to @AdamGS for this clickbench link)