Skip to content

[default values] ORC/Spark: forward-port default-value reads via idToConstant (LI #76) - #273

Merged
cbb330 merged 2 commits into
openhouse-1.5.2from
chbush/oh152-orc-defaults-267
Aug 27, 2026
Merged

[default values] ORC/Spark: forward-port default-value reads via idToConstant (LI #76)#273
cbb330 merged 2 commits into
openhouse-1.5.2from
chbush/oh152-orc-defaults-267

Conversation

@cbb330

@cbb330 cbb330 commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Exact copy of #267 onto openhouse-1.5.2.
  • Same ORC omit/fill path, same Spark inject visitor, same dead convertConstant LIST/MAP/STRUCT branches, same JUnit 4 tests.

The only required substitutions are Spark 3.5 type names that do not exist on this branch: BaseDataReaderBaseReader, SparkBatchScanSparkBatch, ORC .supportsInitialDefaults() on BaseRowReader instead of Spark 3.1 RowDataReader. Test class names and assertions are unchanged.

Testing Done

Dependencies

…Constant (LI #76)

Twin of #267 for openhouse-1.5.2 / Spark 3.5. Omit absent
defaulted fields from the ORC projection and inject them into idToConstant
so the row reader fills via existing constant readers. Vectorized ORC fill
stays out of scope: SparkBatch keeps defaulted projections on the row reader.

Spark 3.5 already has idToConstant on SparkOrcReader; wiring goes through
BaseRowReader and SparkBatch instead of Spark 3.1 BaseDataReader/SparkBatchScan.
Like-for-like with openhouse-1.2.0. BaseReader/SparkBatch names are required
on Spark 3.5; tests keep the 1.2.0 class names and JUnit 4 runner.
@cbb330
cbb330 merged commit 1b8361f into openhouse-1.5.2 Aug 27, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants