andygrove opened a new issue, #36:
URL: https://github.com/apache/datafusion-java/issues/36

   ### Is your feature request related to a problem or challenge?
   
   DataFusion 53.1 supports Avro via `SessionContext::read_avro` /
   `register_avro`, but the Java binding doesn't expose it. Parquet (#18)
   and CSV (#21) are covered; Avro is the remaining commonly requested
   columnar/row format for analytics workloads.
   
   ### Describe the solution you'd like
   
   Mirror the existing reader pattern:
   
   - Add an `AvroReadOptions` value class (file extension, schema).
   - Add `proto/avro_read_options.proto` and pass options through the
     proto-over-JNI convention (#29).
   - Expose `SessionContext.registerAvro(name, path[, options])` and
     `readAvro(path[, options])`.
   - Cover with tests against a small fixture Avro file.
   
   ### Describe alternatives you've considered
   
   `CREATE EXTERNAL TABLE … STORED AS AVRO` via SQL works but bypasses
   the typed builder.
   
   ### Additional context
   
   Avro support in DataFusion lives behind the `avro` Cargo feature. The
   native crate currently relies on DataFusion's default features
   (restored in e79dc7e); enabling `avro` will pull in the `apache-avro`
   crate and grow the native binary. Worth confirming the size impact is
   acceptable before merging.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to