Skip to content

Only apply VeloxParquetWriterInjects and NativeWritePostRule for Spark 3.3#11787

Merged
JkSelf merged 2 commits intoapache:mainfrom
JkSelf:columnar-write-limit
Mar 19, 2026
Merged

Only apply VeloxParquetWriterInjects and NativeWritePostRule for Spark 3.3#11787
JkSelf merged 2 commits intoapache:mainfrom
JkSelf:columnar-write-limit

Conversation

@JkSelf
Copy link
Contributor

@JkSelf JkSelf commented Mar 18, 2026

What changes are proposed in this pull request?

VeloxParquetWriterInjects and NativeWritePostRule is only used to offload spark32 and spark33's writer.

How was this patch tested?

Existing tests

Was this patch authored or co-authored using generative AI tooling?

no

@JkSelf JkSelf force-pushed the columnar-write-limit branch from 4010e91 to 4a7a240 Compare March 18, 2026 15:57
session => GlutenWriterColumnarRules.NativeWritePostRule(session))
// Only register VeloxParquetWriterInjects and NativeWritePostRule for Spark 3.2 and 3.3
val sparkVersion = SparkShimLoader.getSparkVersion
if (sparkVersion.startsWith("3.2") || sparkVersion.startsWith("3.3")) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.2 support is dropped recently

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

@zhouyuan zhouyuan changed the title Only apply VeloxParquetWriterInjects and NativeWritePostRule for Spark 3.2 and 3.3 Only apply VeloxParquetWriterInjects and NativeWritePostRule for Spark 3.3 Mar 19, 2026
@JkSelf JkSelf merged commit 133d3e9 into apache:main Mar 19, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants