-
Notifications
You must be signed in to change notification settings - Fork 0
19931: fix: respect DataFrameWriteOptions::with_single_file_output for paths without extensions #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… without extensions
WalkthroughThis change introduces a new public field ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Review for PR #203SummaryThis PR fixes a regression where Code Quality: ✅ GoodStrengths
Minor Issues
Potential Bugs:
|
🤖 Augment PR SummarySummary: This PR ensures Changes:
Technical Notes: The default behavior remains heuristic-based unless an explicit 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// - `None`: use extension heuristic (path with extension = single file) | ||
| /// - `Some(true)`: force single file output at exact path | ||
| /// - `Some(false)`: force directory output with generated filenames | ||
| pub single_file_output: Option<bool>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value:valid-but-wont-fix; category:bug; feedback:The Augment AI reviewer is correct that the addition of the new field breaks the public API but this is not really an issue for Apache DataFusion because its release policy is to release major versions which allow breaking the API. Minor versions are released only when there are big issues with a freshly released major version.
value:good-to-have; category:bug; feedback:The Claude AI reviewer is correct that by using eq_ignore_ascii_case() the reading of the new config property value would be more user-friendly and accept upper-cased/capitalized |
value:incorrect-but-reasonable; category:bug; feedback:The Claude AI reviewer is not correct! "Some(false)" means that the file writer should use the provided path as a file system directory. If partitioning is disabled then this directory will contain only one file for the single partition. |
19931: To review by AI