-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Is your feature request related to a problem or challenge?
I have heard annecedotally a few times from different people that the size of the compiled WASM file for DataFusion is large (10MB?). This large size slows down page load times for webpages that use the DataFusion WASM.
I have heard this concern from @emilk @timsaucer @XiangpengHao at least Maybe @jonmmease or @waynexia too (but I can't remember for sure)
Describe the solution you'd like
I would like some way to reduce the size of the final WASM package (perhaps optionally)
Describe alternatives you've considered
Today when you build DataFusion it comes with many features (like support for all compression libraries for Parquet and functions specialized for multiple different types of Arrow arrays -- StringArray, and LargeStringArray and StringViewArray for example
One thing we could consider is feature flagging out many of the extra copies of code for different data formats somehow.
I think the challenge will be managing the complexity that this adds to build/ runtime.