[spark] Add an isolated Spark 4.3 connector build #11246
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 230 lines diff across 2 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.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #11246"
general
weight: 0.35
LuciferYang
Purpose
Add an experimental
paimon-spark-4.3_2.13connector through a separatespark43profile, as #11127 did for Spark 4.2. Thespark4andspark42connectors are unchanged.Spark 4.3 keeps the 4.2 APIs Paimon adapts to, so the five
SPARK_VERSION.startsWith("4.2.")gates now read>= "4.2". The rest covers what 4.3 changed:SpecializedGettersgains two nanosecond timestamp getters andParserInterfacegainssplitStatements. Their types do not exist in 4.2, sopaimon-spark4-commongets 4.3 copies of the row, array and parser classes undersrc/main/spark43. No Paimon type maps to nanosecond timestamps, so the getters throw.GeneratedColumn.validateGeneratedColumnsis gone. REPLACE TABLE calls it or 4.3'svalidateCatalogForGeneratedColumn, whichever the runtime has, as Spark does.paimon-spark-4.3compiles the main and test sources ofpaimon-spark-4.2, Ossie semantic views included, against Spark 4.3. It adds only its NOTICE and the tests that need 4.3 APIs. Like 4.2, it gets a CI lane and is not published.Tests
paimon-spark-4.3runs everypaimon-spark-4.2test on Spark 4.3.Spark42CompatibilityTestgains two cases, so both connectors cover them:CREATE OR REPLACE TABLE, which goes through the generated-column check above;CREATE OR REPLACE TABLE ... AS SELECT, which takes the separate RTAS strategy.Spark43CompatibilityTestcallssplitStatements, a parser API that 4.2 does not have, through Paimon's parser.Spark42CompatibilityTestandOssieSemanticViewTestsetspark.sql.analyzer.singlePassResolver.dualRunWithLegacy=false. Spark 4.3 (SPARK-56596) turns that dual run on by default in tests, and the single-pass resolver skips injected resolution rules, so it cannot resolve Paimon views. Spark 4.2 already defaults it tofalse.