Skip to content

[GLUTEN-10072] Enable hive execution tests#12005

Open
wecharyu wants to merge 3 commits intoapache:mainfrom
wecharyu:GLUTEN-10072
Open

[GLUTEN-10072] Enable hive execution tests#12005
wecharyu wants to merge 3 commits intoapache:mainfrom
wecharyu:GLUTEN-10072

Conversation

@wecharyu
Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

Enable unit tests in Spark sql/hive/src/test/scala/org/apache/spark/sql/hive/execution:

  • Extract spark-hive test resources to spark.test.home in script install-spark-resources.sh
  • Use GlutenHiveResourcePathSupport to load test resources from spark.test.home
  • Use GlutenTestHiveTables to register hive qtest tables

#10072

How was this patch tested?

Pass all new tests.

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

Codex gpt-5.5

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@github-actions github-actions Bot added CORE works for Gluten Core INFRA labels Apr 28, 2026
Comment thread pom.xml
<delta.version>2.3.0</delta.version>
<delta.binary.version>23</delta.binary.version>
<antlr4.version>4.8</antlr4.version>
<hadoop.version>3.3.2</hadoop.version>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The Hadoop version of Spark 3.3.1 is 3.3.2, we need explicitly declare it here. Otherwise there are version conflicts:

  • hadoop-common-2.7.4 (default version)
  • hadoop-client-api/runtime-3.3.4 (from spark-hive test)

That mix is unsafe. The old Hadoop 2.7.4 FsUrlStreamHandlerFactory can be loaded together with Hadoop 3.3.4 HTTP/HTTPS filesystem classes. As a result, HTTPS URLs used by Hive test
jar resolution and Ivy ADD JAR resolution may be incorrectly handled as Hadoop filesystem URLs, which can recurse through HttpsFileSystem.open() and fail with StackOverflowError.

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@github-actions github-actions Bot added the BUILD label Apr 29, 2026
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BUILD CORE works for Gluten Core INFRA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant