Honor ORC filter pushdown configuration in GPU scans [databricks] #16850
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.66) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 390 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #16850"
general
weight: 0.35
res-life
Fixes #16804.
Description
Honor
spark.sql.orc.filterPushdownwhen constructing search arguments in GPU ORC scans. GPU ORC scans now honor disabled predicate pushdown, allowing users to bypass the known DST-related pruning defect without losing matching rows.Capture the setting on the driver and check it in the shared filter handler used by PERFILE, COALESCING, and MULTITHREADED readers. The query predicate still executes in the GPU filter; enabled pushdown keeps the existing search-argument construction. The underlying DST pruning defect with pushdown enabled remains tracked in #16803.
Add CPU-written ORC regression coverage for all three readers and V1/V2 scans. Assert exactly the target row with pushdown disabled around the America/New_York DST fallback, and with pushdown both enabled and disabled for ordinary timestamps.
Validation on a local NVIDIA L4 with JDK 17 and
TZ=America/New_York:TEST_PARALLEL=6 MAX_PARALLEL=6; zero failures, errors, or skips. GPU test-mode plan validation remained enabled.env -u SPARK_HOME mvn package -Dbuildver=330 -DskipTestsandenv -u SPARK_HOME mvn -f scala2.13/pom.xml clean package -Dbuildver=359 -DskipTests.TZ=America/New_York TESTS=orc_test.py TEST=test_orc_timestamp_filter_pushdown TEST_PARALLEL=6 MAX_PARALLEL=6 RUN_TEST_PARAMS=--test_oom_injection_mode=never ./integration_tests/run_pyspark_from_build.sh.704a4790d; their production Scala source is identical to this PR. The Python regression source includes the final GPU-supported timestamp projection.Performance benchmarks are not required for this configuration-correctness fix: enabled pushdown retains the existing pruning implementation; with pushdown disabled, reading without predicate pruning is the requested behavior, and comparing against incorrectly pruned results would not establish a valid speedup.
Draft follow-up:
AI assistance was used for implementation and validation.
Checklists
Documentation
Testing
(Please provide the names of the existing tests in the PR description.)
Performance