Skip to content

[GLUTEN-11550][VL] Fix GlutenSetCommandSuite in Spark 4.x - #12533

Merged
zml1206 merged 1 commit into
apache:mainfrom
zml1206:GlutenSetCommandSuite
Jul 17, 2026
Merged

zml1206 merged 1 commit into
apache:mainfrom
zml1206:GlutenSetCommandSuite

Conversation

@zml1206

@zml1206 zml1206 commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Added hive-site.xml to the Spark 4.x test resources because GlutenSetCommandSuite relies on the Hadoop configuration defined in Spark’s test environment.
The previously reported 232 failures in GlutenRandomDataGeneratorSuite on Spark 4.1 were local-environment issues: spark.test was not set, causing TimeType to be disabled.

Related issue: #11550

Copilot AI review requested due to automatic review settings July 16, 2026 06:55
@github-actions github-actions Bot added the CORE works for Gluten Core label Jul 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR targets re-enabling the Spark 4.x GlutenSetCommandSuite for the Velox backend by turning the suite back on in the Spark 4.0/4.1 test settings and adding the Hive test configuration resource that Spark’s SetCommandSuite expects on the test classpath.

Changes:

  • Re-enabled GlutenSetCommandSuite in VeloxTestSettings for Spark 4.0 and Spark 4.1.
  • Added hive-site.xml under Spark 4.0/4.1 test resources to support Hive-related SET command test expectations.
  • (Also) re-enabled GlutenRandomDataGeneratorSuite for Spark 4.1.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
gluten-ut/spark41/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala Re-enables Spark 4.1 suites (including GlutenSetCommandSuite; also re-enables GlutenRandomDataGeneratorSuite).
gluten-ut/spark41/src/test/resources/hive-site.xml Adds Hive test configuration required by SetCommandSuite-style tests.
gluten-ut/spark40/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala Re-enables GlutenSetCommandSuite for Spark 4.0.
gluten-ut/spark40/src/test/resources/hive-site.xml Adds Hive test configuration required by SetCommandSuite-style tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

.exclude("Query Spark logs with exception using SQL")
enableSuite[GlutenPercentileQuerySuite]
// TODO: 4.x enableSuite[GlutenRandomDataGeneratorSuite] // 232 failures
enableSuite[GlutenRandomDataGeneratorSuite]
@zml1206
zml1206 requested review from philo-he and zhouyuan July 16, 2026 12:55

@philo-he philo-he left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks.

@zml1206
zml1206 merged commit 4286da6 into apache:main Jul 17, 2026
174 of 177 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants