Repository navigation
fix: keep Text build sides on Spark by default and add Text conversion configs #7123
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
Merged
andygrove
merged 7 commits into
apache:main
from
andygrove:datafusion-comet-issue-fix-3f8ae489
Oct 23, 2026
+859
−665
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
18707d2
fix: default broadcast build side conversion to off and document inva…
andygrove cd42aeb
test: move the #6008 build-side tests into CometBroadcastBuildSideSuite
andygrove e8fe758
fix: keep Text build sides on Spark by default and add Text conversio…
andygrove 67dc4c1
test: drop the QueryStageExec import that the test move left unused
andygrove c9f18a2
fix: convert a Text build side only with spark.comet.convert.text.ena…
andygrove 5104964
docs: describe Text conversion through its own config only
andygrove 0e66bc0
fix: drop the unused SparkConf import and narrow the min/max workaround
andygrove File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
If this config stays, two existing docs still describe
FileSourceScaninspark.comet.sparkToColumnar.supportedOperatorListas the way to convert "file formats other than Parquet, JSON and CSV": thesupportedOperatorListdoc further down in this file, and the "To convert any other leaf operator" paragraph indatasources.md. Could they mention Text?Related to that, the other leaves that gained their own
spark.comet.convertconfig (Range, InMemoryTableScan, RDDScan, OneRowRelation) keep thesparkToColumnarpath throughisConversionEnabled, which logs a deprecation warning.shouldConvertTextScankeeps the path for Text without one. Is Text meant to stay supported there long term, or should it be deprecated the same way? The docs should say which.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.
Good catch on both. Text now goes through
isConversionEnabled, like Range, InMemoryTableScan, RDDScan and OneRowRelation. NamingFileSourceScanorBatchScanfor a Text scan still converts it, but logs the same deprecation warning. ThesupportedOperatorListdoc and the "To convert any other leaf operator" paragraph indatasources.mdnow say "other than Parquet, JSON, CSV and Text". Both also say that naming those operators to convert Text is deprecated. NamingFileSourceScanfor ORC and other formats without a config of their own is unchanged.