alamb opened a new issue, #7653:
URL: https://github.com/apache/arrow-datafusion/issues/7653

   ### Is your feature request related to a problem or challenge?
   
   DataFusion aspires to be a modular query engine, and not all users need 
support for parquet
   
   The [parquet](https://docs.rs/parquet/latest/parquet/index.html) crate has a 
non trivial number of dependencies (some of which prevent compiling DataFusion 
to WASM -- see https://github.com/apache/arrow-datafusion/issues/7652)
   
   Also there have been reports like 
https://github.com/apache/arrow-datafusion/issues/2042 where some of the native 
dependencies like `zstd` cause build issues
   
   
   
   
   ### Describe the solution you'd like
   
   I would like to make `parquet` support optional, the same way `avro` support 
is 
   
   Avro is marked as `optional`: 
https://github.com/apache/arrow-datafusion/blob/5f38135d5d21160d6b1ef7213578dd5eddfa4f95/datafusion/core/Cargo.toml#L53
   
   It would be great to mark `parquet` as optional too
   
https://github.com/apache/arrow-datafusion/blob/5f38135d5d21160d6b1ef7213578dd5eddfa4f95/datafusion/core/Cargo.toml#L82
   
   In order to make this work, we would likely need to encapsulate the parquet 
code in a more modular fashion (rather than sprinkling `#[cfg(feature = 
parquet)]` all over the code
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to