Skip to content

Conversation

@tdas
Copy link
Contributor

@tdas tdas commented Nov 19, 2025

🥞 Stacked PR

Use this link to review incremental changes.


Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Comprehensive test suite for Delta utility and maintenance operations on Unity Catalog managed tables including optimization, history tracking, and catalog metadata queries.

Adds UCDeltaTableUtilitySuite with 10 tests covering OPTIMIZE and ZORDER BY operations, DESCRIBE HISTORY with flexible UC-specific validation, SHOW CATALOGS/SCHEMAS/COLUMNS for catalog metadata, and concurrent-safe operation validation.

How was this patch tested?

  • Added UCDeltaTableUtilitySuite with 10 comprehensive utility operation tests
  • Tests cover OPTIMIZE, ZORDER BY, DESCRIBE HISTORY operations
  • SHOW CATALOGS/SCHEMAS/COLUMNS catalog metadata queries validated
  • Concurrent-safe operations verified
  • All tests pass with Unity Catalog 0.3.0 and Spark 4.0

Does this PR introduce any user-facing changes?

No. This PR only adds utility operations test suite for Unity Catalog integration. No user-facing functionality is changed.

tdas added 3 commits November 18, 2025 20:47
- Moved UnityCatalogSupport.scala and UnityCatalogSupportSuite.scala to com.sparkuctest package
- Updated package declarations from org.apache.spark.sql.delta to com.sparkuctest
- All 4 tests pass successfully with Spark 4.0
@tdas tdas force-pushed the stack/spark-uc-pr4-utility branch from 84dfe4d to 36821a9 Compare November 19, 2025 01:48
@tdas tdas force-pushed the stack/spark-uc-pr4-utility branch from 36821a9 to 41dab58 Compare November 19, 2025 02:52
@tdas tdas force-pushed the stack/spark-uc-pr4-utility branch from 41dab58 to 2e1f204 Compare November 19, 2025 03:30
@tdas tdas force-pushed the stack/spark-uc-pr4-utility branch from 2e1f204 to bf69aeb Compare November 19, 2025 05:36
tdas added 6 commits November 19, 2025 00:46
- Created UCDeltaTableIntegrationSuiteBase abstract class with pluggable SQLExecutor
- SQLExecutor trait provides abstraction for running SQL and verifying results
- Default SparkSQLExecutor implementation uses SparkSession
- UCDeltaTableIntegrationSuite tests Delta operations (CREATE, INSERT, SELECT, UPDATE, DELETE, MERGE)
- All 9 tests pass with Spark 4.0 and Unity Catalog
@tdas tdas force-pushed the stack/spark-uc-pr4-utility branch from bf69aeb to 0e255f1 Compare November 19, 2025 05:46
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.

1 participant