Conversation
…le processing - Added support for reading and writing JSON files using DataFusion's DataFrame API. - Introduced a new function `is_datafusion_native` to determine if the input format is compatible with DataFusion. - Refactored the `convert` function to utilize either the DataFrame API or a fallback method based on the input and output file types. - Enhanced error handling for unsupported file types in the DataFrameReader. - Updated tests to reflect the new JSON support and error messages.
…improve test structure - Removed async evaluation methods from ReplPipelineBuilder and replaced them with exec_* methods. - Updated corresponding tests to reflect the new method names and improved error handling. - Consolidated path extraction tests for read operations.
- Updated various dependencies in Cargo.toml, including `anyhow`, `clap`, `datafusion`, and `tokio`, to their latest compatible versions. - Adjusted version specifications for `anstyle`, `console`, and other packages in Cargo.lock to reflect new releases. - Improved dependency management by ensuring consistent versioning across related packages.
- Introduced functions to check for Int16 fields in schemas and convert them to Int32 for Avro compatibility. - Implemented a wrapper for record batch readers that casts Int16 columns to Int32. - Updated the `write_record_batches` function to handle schema adjustments before writing to Avro files. - Added a test to verify that Int16 values are correctly upcast to Int32 in the written Avro output.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Branch
0.3.2brings dependency updates, Avro/DataFrame improvements, and REPL cleanup.Key changes
resolve_input_file_typerenamed toresolve_file_type.pipeline/avro.rs).anyhowtoeyre.exec_*naming and improved test structure; feature files updated for REPL equivalents.actions-rust-lang/setup-rust-toolchain@v1, Rust 1.94.0, no nightly..clocignore, dependency/version bumps in Cargo files, small fixes and rewordings.Commits (origin/main..HEAD)
28 files changed, 754 insertions, 610 deletions.
Made with Cursor