Skip to content

[test][spark] Fix the unstable testHiveCatalogOptions #5738

Merged
JingsongLi merged 1 commit intoapache:masterfrom
Zouxxyy:dev/fix-spark-test
Jun 12, 2025
Merged

[test][spark] Fix the unstable testHiveCatalogOptions #5738
JingsongLi merged 1 commit intoapache:masterfrom
Zouxxyy:dev/fix-spark-test

Conversation

@Zouxxyy
Copy link
Copy Markdown
Contributor

@Zouxxyy Zouxxyy commented Jun 12, 2025

Purpose

drop database created in testBuildWithHive

Error:  org.apache.paimon.spark.SparkGenericCatalogWithHiveTest.testBuildWithHive(Path)  Time elapsed: 0.058 s  <<< ERROR!
org.apache.spark.sql.catalyst.analysis.NamespaceAlreadyExistsException: 
[SCHEMA_ALREADY_EXISTS] Cannot create schema `my_db` because it already exists.
Choose a different name, drop the existing schema, or add the IF NOT EXISTS clause to tolerate pre-existing schema.

Tests

API and Format

Documentation

@Zouxxyy Zouxxyy marked this pull request as draft June 12, 2025 07:08
@Zouxxyy Zouxxyy force-pushed the dev/fix-spark-test branch from 67af97c to 97f5801 Compare June 12, 2025 09:40
@Zouxxyy Zouxxyy marked this pull request as ready for review June 12, 2025 09:56
@JingsongLi
Copy link
Copy Markdown
Contributor

+1

@JingsongLi JingsongLi merged commit 093c72e into apache:master Jun 12, 2025
20 of 21 checks passed
yuzelin pushed a commit that referenced this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants