Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
bcb787b
[Spark][DEDUP] Remove unused SchemaUtils.convertKernelSchemaToSparkSc…
tdas Nov 16, 2026
34858de
[Spark] Make all nested output fields nullable on Delta writes (#8171)
ala Nov 16, 2026
ed65441
[Spark] Reconstruct AMT commit change files per state reconstruction …
dhruvarya-db Nov 16, 2026
426d277
[Spark] Convert SnapshotManagerFactory to Scala (#8055)
HaoSun1993 Nov 16, 2026
94cdbbc
[Spark][DEDUP] Single helper for V2 CDC output schema (#8116)
tdas Nov 16, 2026
6a413d1
[Spark] Preserve processing failures during iterator cleanup (#8175)
PorridgeSwim Nov 17, 2026
65938df
[Spark][DEDUP] Use shared Delta V2 enable mode constants (#8110)
tdas Nov 17, 2026
f6944f6
[Sharing] Prune unsupported sub-expressions from Delta Sharing json p…
chakankardb Nov 17, 2026
e7261c2
[Spark] Reconstruct AMT file actions in SingleCommit.getActionsIterat…
geraintcjy Nov 17, 2026
54e2ff0
[Infra] Cancel in-progress Delta Spark CI runs on new commits (#8184)
tdas Nov 17, 2026
f7443c1
[Spark][DEDUP] Merge getPartitionRow map overload implementations (#8…
tdas Nov 17, 2026
6477066
[Spark] Re-enable the V2 streaming failOnDataLoss gap test (#8181)
PorridgeSwim Nov 17, 2026
8e80854
[Spark] Say catalog-managed in comments (#8151)
xzhseh Nov 17, 2026
090e698
[Spark] Rename the CatalogOwnedTableFeature and CatalogOwnedTableUtil…
xzhseh Nov 17, 2026
df10b54
[Spark] Attribute Delta V2 snapshot and cache operations (#8067)
openinx Nov 17, 2026
01c3d5a
[Spark] Use one helper to get the DeltaV2Scan in the V2 scan Java tes…
hariuserx Nov 17, 2026
638f6db
[Spark] Share checkNonAdditiveSchemaChanges between DeltaSource and D…
zikangh Nov 17, 2026
7603824
[Spark] Fix snapshot listing test catalog selection (#8188)
EricTsengTy Nov 17, 2026
83c3340
[SPARK] Support verionless CDF in delta sharing delta format response…
Omar-Saleh Nov 17, 2026
99823f8
[Spark] Rename CatalogOwnedUsageLogs to CatalogManagedUsageLogs (#8157)
xzhseh Nov 17, 2026
a75a415
[Spark][DEDUP] Share row-tracking metadata lookup in V2 value setter …
tdas Nov 17, 2026
79ca851
[Spark] Fix DROP FEATURE deletionVectors succeeding while files still…
sumeet-db Nov 17, 2026
ba79b1b
[Spark] Reject DROP COLUMNS of a struct that holds a clustering colum…
sumeet-db Nov 17, 2026
2929265
[Spark] Make writer V2 test assertions and setup reusable (#8183)
tmaire111 Nov 17, 2026
44ddab5
[Spark][DEDUP] Drop the redundant DeltaV2ScanBuilder.create factory (…
tdas Nov 17, 2026
3b1bb78
[Spark][DEDUP] Clarify partition-only guarantee for pushed limits (#8…
tdas Nov 17, 2026
cdb1915
[Spark] Cover catalog-managed coordinator failures in transaction tes…
EricTsengTy Nov 17, 2026
15b622a
[Spark] Rename CatalogOwnedCommitCoordinator* to CatalogManagedCommit…
xzhseh Nov 17, 2026
41f7964
[Spark] Require isPreviewCompatible in AMTUtils.amtSupported and amtE…
ctring Nov 18, 2026
be6041c
[Sharing] Remove spark.sql.delta.sharing.enableAutoResolveForCdf (#8206)
linzhou-db Nov 18, 2026
e364662
[Sharing] Remove spark.sql.delta.sharing.cdfStreamingAutoResolveRespo…
linzhou-db Nov 18, 2026
fd8c620
[Spark] Allow AMT leaves that mix live files and tombstones (#8208)
ctring Nov 18, 2026
456d716
[Spark] Reuse the written AMT root rows for the next commit (#8172)
PhilPlato Nov 18, 2026
965a3c0
[Spark] Use CatalogManagedTableFeature (#8154)
xzhseh Nov 18, 2026
febd8a4
[Flink] Preserve transaction identity when restoring checkpoints (#8203)
timothyw553 Nov 18, 2026
832db36
[Spark][DEDUP] Follow-up: cover metadata schema conversion (#8215)
tdas Nov 18, 2026
b8c6bbf
[Kernel] Make checkpoint search batch size configurable (#8201)
thinh2 Nov 18, 2026
d33d2f8
[Spark] Preserve resolved partition names during V2 column pruning (#…
PorridgeSwim Nov 18, 2026
6e2494f
[Spark] Validate protocols while reading V2 streaming commits (#8219)
HaoSun1993 Nov 18, 2026
a3781e5
[Spark] Build the AMT content stats JSON from a typed stats struct (#…
dhruvarya-db Nov 18, 2026
a74e849
[Spark] Test that a re-added column does not take a dropped column's …
geraintcjy Nov 18, 2026
fa86aa5
[Spark] Consolidate AMT back-reference tests (#8195)
CyrusNajmabadi Nov 18, 2026
fbc776d
[Spark] Share AMT snapshot test fixtures (#8196)
CyrusNajmabadi Nov 18, 2026
2fb999a
[Spark][DEDUP] Share partitioned-table fixture in V2 batch and scan t…
tdas Nov 18, 2026
aba4738
[Build] Cache compiled Spark classes and limit duplicate cache upload…
scottsand-db Nov 18, 2026
7401892
[Kernel] Don't re-read data files to gather stats (#7719)
austinshores Nov 18, 2026
e1492b4
[Spark] Add case-sensitive V2 metadata SQL regression coverage (#8224)
PorridgeSwim Nov 18, 2026
bb9eb35
Fix misleading error on DML with type-incompatible SET on tables with…
xupefei Nov 18, 2026
5e69db3
[Spark] Use V1 commit actions for V2 change data streaming (#8179)
PorridgeSwim Nov 18, 2026
888b38f
[Spark] Add structured Delta V2 snapshot and cache diagnostics
openinx Nov 18, 2026
2251823
[Spark] Record Delta V2 scan operation hooks (#8068)
openinx Nov 18, 2026
d360845
[Spark] Remove Spark 4.0 support (#8209)
tdas Nov 18, 2026
8f8a85b
[Spark] Pass the SparkSession explicitly through AMT leaf manifest re…
PhilPlato Nov 18, 2026
7ac5dea
[Spark][DEDUP] Share the random file-prefix decision in Utils (#8216)
tdas Nov 19, 2026
ea63d23
[Spark] Read the table id through DeltaStreamingBackend in streaming …
zikangh Nov 19, 2026
0336b79
[Spark] Make each AMT AddFile field an independent expression (#8204)
dhruvarya-db Nov 19, 2026
4e3f8c4
[Spark][DEDUP] Share the CDC deletion-vector bitmap diff between CDCR…
tdas Nov 19, 2026
ee21c83
[Kernel] Add withDescription to the table transaction builders (#8098)
xzhseh Nov 19, 2026
8808245
[Spark] Upgrade groundwork: delta.enableAdaptiveMetadata enables adap…
sumeet-db Nov 19, 2026
b980111
[Spark] Read the AMT root entries with the scan columns of leaf entri…
dhruvarya-db Nov 19, 2026
fdfb737
[Spark] Use CatalogManagedTableUtils (#8155)
xzhseh Nov 19, 2026
2daff2c
[Spark] Delta Tests: replace testImplicits with deltaImplicits (#8197)
fwc Nov 19, 2026
f74e46b
[Spark] Say catalog-managed in OptimisticTransaction, Snapshot and Sn…
xzhseh Nov 19, 2026
2240d38
[Spark][DEDUP] Share commit-message unpacking between V2 batch and st…
tdas Nov 19, 2026
d98971d
[Spark] Separate CDC payloads from IndexedFile in V2 streaming (#8232)
PorridgeSwim Nov 19, 2026
6b94a5c
[PROTOCOL RFC] Iceberg V4: align manifest_info field IDs with Iceberg…
Fokko Nov 19, 2026
328ad78
[Spark] Call Snapshot.isCatalogManaged (#8156)
xzhseh Nov 19, 2026
fddd2ed
[Spark] Remove the DynamoDB commit coordinator backend (#8130)
EricTsengTy Nov 19, 2026
25c3485
[Spark] Move AMT manifest DataFrame readers into AMTManifestReader (#…
geraintcjy Nov 19, 2026
e4c479d
[Spark] Report unsupported IcebergCompat column defaults with a type-…
joelrobin18 Nov 19, 2026
4f32495
[Spark][DEDUP] Share the Kernel interrupt translation in DeltaV2Micro…
tdas Nov 19, 2026
40d72a1
[Spark] Test that liquid clustering column stats survive an AMT check…
ctring Nov 19, 2026
a366bfb
[Spark] Rename getCatalogOwnedCommitCoordinatorClient to getCatalogMa…
xzhseh Nov 20, 2026
a7b1708
[Spark] Rename catalog-owned local names to catalog-managed (#8152)
xzhseh Nov 20, 2026
59a4346
[Spark] Add Delta V2 scan builder diagnostics (#8066)
openinx Nov 20, 2026
5f24593
[Spark] Document S3 conditional writes and DynamoDB migration (#8127)
willislwang Nov 20, 2026
f678c70
[Protocol RFC] Iceberg v4: add amtPassthrough to add and remove actio…
geraintcjy Nov 20, 2026
d17e959
[Spark] Share checkReadIncompatibleSchemaChanges between DeltaSource …
zikangh Nov 20, 2026
499d93a
[Spark] Only CREATE, the AMT upgrade and DROP FEATURE change whether …
sumeet-db Nov 20, 2026
b964c6a
[Spark] Finish the CatalogManaged rename of exported local names (#8212)
xzhseh Nov 20, 2026
ec8316f
[Spark] Say catalog-managed in the V2 connector, the Spark shims and …
xzhseh Nov 20, 2026
52433fc
[Spark] Reuse shared IndexedFile in V2 streaming (#8261)
PorridgeSwim Nov 20, 2026
afb978d
[Spark] Say catalog-managed in an internal assert message (#8213)
xzhseh Nov 20, 2026
ca19d81
[Spark][DEDUP] Share opt-in V2 table manager cache cleanup (#8141)
tdas Nov 21, 2026
e3ce2ff
[Hudi] Keep the newest snapshot in the async Hudi conversion queue (#…
sumeet-db Nov 21, 2026
4dfadf8
[Spark] Say catalog-managed in the streaming source and sink (#8161)
xzhseh Nov 21, 2026
03e3a2d
[Spark] Share the metadata evolution helpers between DeltaSource and …
zikangh Nov 21, 2026
4c58d15
[Spark] Check all columns after column mapping removal (#8167)
longvu-db Nov 22, 2026
4f2962b
[Spark] Check structured errors for conflicting DML assignments (#8166)
longvu-db Nov 22, 2026
4f1e51f
[Spark] Check structured generated-column validation errors (#8168)
longvu-db Nov 22, 2026
4b2207c
[SPARK] Fix struct resolution in nested arrays for MERGE and UPDATE (…
Omar-Saleh Nov 23, 2026
776fcad
[Spark] Batch fixture writes for OPTIMIZE compaction tests (#8249)
CyrusNajmabadi Nov 23, 2026
5189afe
[Infra] Run oldest and newest Spark versions on PRs; compile the rest…
tdas Nov 23, 2026
f34ad3a
[Spark] Cover partitioned tables across repeated row tracking updates…
longvu-db Nov 23, 2026
20161d4
[Spark] Materialize identity snapshots before MERGE schema evolution …
longvu-db Nov 23, 2026
ca1e157
[Spark] Check column mapping ID rejection and retained metadata (#8281)
longvu-db Nov 23, 2026
b35dce9
[Spark] Reject watermark reuse in identity value assertions (#8282)
longvu-db Nov 23, 2026
b68e18f
[Spark] Assert stale-schema MERGE rejection and retained rows (#8283)
longvu-db Nov 23, 2026
4530bb4
[Spark] Assert CDF timestamp boundary rejection results (#8284)
longvu-db Nov 23, 2026
ddda749
[Spark] Assert generated-column missing-input rejection and retained …
longvu-db Nov 23, 2026
312d1fa
[Spark] Check structured column mapping option errors (#8278)
longvu-db Nov 23, 2026
664aa7b
[Spark] Check structured identity-column builder errors (#8286)
longvu-db Nov 23, 2026
d5ec1b2
[Spark] Exercise file pruning in row commit version tests (#8287)
longvu-db Nov 23, 2026
8eea753
[Storage] Fail a UC commit at once on HTTP 401 and 403 (#8276)
ctring Nov 23, 2026
40d19c1
[Spark] Make the columnar AMT checkpoint provider the default (#8264)
dhruvarya-db Nov 23, 2026
4c394b5
[Spark] Share the Trigger.AvailableNow state between DeltaSource and …
zikangh Nov 23, 2026
50d25c9
[Spark] Run the areAllLeavesLiteral stack-overflow test on a fixed sm…
sumeet-db Nov 24, 2026
2da5898
[Spark] Use table manager for V2 streaming metadata evolution (#8295)
PorridgeSwim Nov 24, 2026
7ee7f83
[Spark][AMT] Rename base actions result set transactions and domain m…
prakharjain09 Nov 24, 2026
0c7c11c
[Spark] Use flat block IDs for Delta Sharing log storage (#8091)
AdithyaP7 Nov 24, 2026
40a5037
[Spark][AMT] Keep tightStats through stats rewrites and read it (#8298)
ctring Nov 24, 2026
b69a7f5
[Spark] Share validateCommitAndDecideSkipping between DeltaSource and…
zikangh Nov 24, 2026
9ec271c
[Spark] Escape column names in generated code for CHECK constraint vi…
leonwind Nov 24, 2026
de74fd9
[Spark] AMT downgrade: commits after the pre-downgrade commit write D…
sumeet-db Nov 24, 2026
c598051
[Spark] Rename two test locals to catalog-managed (#8312)
xzhseh Nov 24, 2026
504ebae
[Spark] Use catalog-managed names in the transaction, snapshot and co…
xzhseh Nov 24, 2026
5c61195
[Spark] Rename CatalogOwnedTestBaseSuite and keep the old name as a s…
xzhseh Nov 24, 2026
c907305
[Spark] Say CatalogManaged in test cancel and assertion messages (#8313)
xzhseh Nov 24, 2026
d092963
[Spark] Rename the catalog-owned helpers in CatalogOwnedEnablementSui…
xzhseh Nov 24, 2026
0ec7fbc
[Spark] V2 Transactions Minor Improvements (#8304)
andreaschat-db Nov 24, 2026
14e35a4
[Spark] Execute and assert dynamic partition overwrite cases (#8288)
longvu-db Nov 24, 2026
2ed6911
[Spark] Move exported AMT and data-skipping suites to CatalogManagedT…
xzhseh Nov 24, 2026
36b4389
[Spark] Move exported log and checkpoint suites to CatalogManagedTest…
xzhseh Nov 24, 2026
ee57aa9
[Spark] Move other exported core Delta suites to CatalogManagedTestBa…
xzhseh Nov 24, 2026
4ec0d42
[Spark] Move exported coordinated-commits suites to CatalogManagedTes…
xzhseh Nov 24, 2026
ea66b93
[Spark] Share filterAndGetIndexedFiles between DeltaSource and DeltaV…
zikangh Nov 24, 2026
07c548e
[Spark] Assert V2 source resolution in catalog-managed streaming test…
PorridgeSwim Nov 24, 2026
074fd7d
[Spark] Remove the per-row AMT checkpoint provider (#8325)
dhruvarya-db Nov 24, 2026
d89878f
[Spark] Detect V2 reads of the sink table in DeltaSink self-read chec…
zikangh Nov 24, 2026
1a2e532
[Spark] Share streaming action collectors across source backends (#8328)
PorridgeSwim Nov 25, 2026
c49ad1a
[Spark][AMT] Read txn and domain metadata sidecars of AMT checkpoints…
prakharjain09 Nov 25, 2026
e9bd03d
[Spark] Read each non-CDC commit once in DeltaV2MicroBatchStream like…
zikangh Nov 25, 2026
db4799e
[Kernel] Match DeltaLog raw commit-file semantics for relaxed CommitR…
thinh2 Nov 25, 2026
36791a2
[Spark] Move exported clone, restore and describe suites to CatalogMa…
xzhseh Nov 25, 2026
5adad73
[Spark][AMT] Fix the AMTNonContentSidecarSuite build after the provid…
ctring Nov 25, 2026
129cecc
[Spark] Give internal checks of the V2 connector a Delta error class …
seewishnew Nov 25, 2026
2dfdb32
[Spark][AMT] Keep tightStats through AMT manifests (#8332)
ctring Nov 25, 2026
d087713
[Spark] Split SuiteGeneratorConfig.TEST_GROUPS into per-group methods…
dhruvarya-db Nov 25, 2026
c53952d
[Spark] Remove unused StreamingHelper methods (#8339)
PorridgeSwim Nov 25, 2026
ba91941
[Spark] Share the commit loop of getFileChanges between DeltaSource a…
zikangh Nov 25, 2026
92ec9d2
[Spark] Revert "Give internal checks of the V2 connector a Delta erro…
huan233usc Nov 25, 2026
6a92b4d
[Spark] Add a reuse check for the Delta Sharing snapshot delta log (#…
littlegrasscao Nov 25, 2026
250ecb4
[Spark] Merge the columnar AMT checkpoint provider into AMTCheckpoint…
dhruvarya-db Nov 25, 2026
483d55e
[Spark] Share the start and end version filters between DeltaSource a…
zikangh Nov 25, 2026
532afcf
[Spark] Add an AMT type widening test suite (#8352)
geraintcjy Nov 25, 2026
e3653cb
[Spark] Say catalog-managed in exported test code and the upgrade err…
xzhseh Nov 25, 2026
35a2f05
[Spark] Share getFileChanges between DeltaSource and DeltaV2MicroBatc…
zikangh Nov 26, 2026
8171997
[Spark] Preserve metadata columns when user column names collide (#8351)
PorridgeSwim Nov 26, 2026
bef9065
[Spark] Record the AMT root entry count and use it to decide root cac…
PhilPlato Nov 26, 2026
1215641
[Spark] Add DeltaLog.loadChangesDf to read commit actions as a DataFr…
geraintcjy Nov 26, 2026
05def10
[Spark] Delete the last two catalog-owned aliases (#8358)
xzhseh Nov 26, 2026
25561a5
[Spark] Say catalog-managed in the shared test bases and suites (#8359)
xzhseh Nov 26, 2026
6753ee6
[Spark] Reduce repeated AMT discovery checkpoint work (#8257)
CyrusNajmabadi Nov 26, 2026
3ac33d5
[Spark] Stop each backward checkpoint search window at its end when n…
sumeet-db Nov 26, 2026
1e725a3
[Spark] Fix data skipping stats taken from another column when a logi…
juliuszsompolski Nov 27, 2026
7952261
[Spark] List _change_data separately to speed up VACUUM listing
sezruby Aug 12, 2026
877daa4
[Spark] Exclude only the table root's _change_data from the main VACU…
sezruby Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
76 changes: 72 additions & 4 deletions .github/actions/run-delta-spark-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,62 @@ runs:
using: composite
steps:
- name: Restore SBT cache
id: sbt-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.sbt
~/.ivy2
~/.cache/coursier
key: delta-sbt-cache-spark${{ inputs.spark-version }}-scala${{ inputs.scala }}
# Build-file changes refresh the key because GitHub caches are immutable.
key: delta-sbt-v2-${{ runner.os }}-${{ runner.arch }}-spark${{ inputs.spark-version }}-scala${{ inputs.scala }}-${{ hashFiles('build.sbt', 'version.sbt', 'project/*.scala', 'project/*.sbt', 'project/project/*.sbt', 'project/build.properties', 'project/scripts/setup_unitycatalog_main.sh') }}
# Reuse older downloads for this Spark/Scala pair; sbt fetches missing dependencies.
restore-keys: delta-sbt-v2-${{ runner.os }}-${{ runner.arch }}-spark${{ inputs.spark-version }}-scala${{ inputs.scala }}-

# Delta's sparkUnityCatalog module (part of sparkGroup) depends on APIs that are only in
# unreleased UC. Publish the pinned UC build locally before sbt tries to resolve it.
- name: Set up pinned Unity Catalog
uses: ./.github/actions/setup-unitycatalog
env:
SPARK_VERSION: ${{ inputs.spark-version }}
with:
save-cache: ${{ inputs.shard == '0' }}

- name: Select compiled cache key
id: compiled-key
shell: bash
env:
CACHE_PREFIX: delta-spark-compiled-v2-${{ runner.os }}-${{ runner.arch }}-spark${{ inputs.spark-version }}-scala${{ inputs.scala }}
run: |
# Keep compiled classes and Zinc metadata within the same JDK and sbt version.
toolchain_hash=$(
cat "$JAVA_HOME/release" project/build.properties |
sha256sum | cut -d ' ' -f 1
)
echo "prefix=${CACHE_PREFIX}-${toolchain_hash}-" >> "$GITHUB_OUTPUT"

- name: Restore compiled Spark outputs
id: compiled-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
# Zinc and resource-copy metadata let sbt remove outputs of deleted source/resource files.
# Keep test distributions and runtime files out so each runner creates them from its inputs.
path: |
**/target/*classes
**/target/scala-*/*classes
**/target/zinc
**/target/test-zinc
**/target/scala-*/zinc
**/target/scala-*/test-zinc
**/target/sync
**/target/test-sync
**/target/scala-*/sync
**/target/scala-*/test-sync
!project/target/**
!project/project/target/**
key: ${{ steps.compiled-key.outputs.prefix }}${{ github.sha }}
# Reuse earlier revisions with the same toolchain; sbt checks changed build inputs.
restore-keys: ${{ steps.compiled-key.outputs.prefix }}

- name: Scala structured logging style check
shell: bash
Expand All @@ -53,7 +97,7 @@ runs:
# SPARK_COMMIT / SPARK_ARTIFACT_VERSION are inherited from GITHUB_ENV (set by
# prepare-spark-env for source-build rows; unset for published rows).
run: |
TEST_PARALLELISM_COUNT=4 python3 run-tests.py --group spark --shard ${{ inputs.shard }} --spark-version ${{ inputs.spark-version }}
TEST_PARALLELISM_COUNT=4 python3 run-tests.py --group spark --shard ${{ inputs.shard }} --spark-version ${{ inputs.spark-version }} --no-clean

- name: Upload test reports
if: always()
Expand All @@ -64,11 +108,35 @@ runs:
retention-days: 7

- name: Save SBT cache
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# Shard 0 produces each Spark/Scala dependency cache; Python, Iceberg and changelog restore it.
if: >-
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
inputs.shard == '0' && steps.sbt-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.sbt
~/.ivy2
~/.cache/coursier
key: delta-sbt-cache-spark${{ inputs.spark-version }}-scala${{ inputs.scala }}
key: ${{ steps.sbt-cache.outputs.cache-primary-key }}

- name: Save compiled Spark outputs
if: >-
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
inputs.shard == '0' && steps.compiled-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
**/target/*classes
**/target/scala-*/*classes
**/target/zinc
**/target/test-zinc
**/target/scala-*/zinc
**/target/scala-*/test-zinc
**/target/sync
**/target/test-sync
**/target/scala-*/sync
**/target/scala-*/test-sync
!project/target/**
!project/project/target/**
key: ${{ steps.compiled-cache.outputs.cache-primary-key }}
28 changes: 14 additions & 14 deletions .github/actions/setup-unitycatalog/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: "Set up pinned Unity Catalog build"
description: >-
Publishes Unity Catalog jars from the commit pinned in project/scripts/setup_unitycatalog_main.sh
(the UC_PIN_SHA= line) to the runner's local Ivy / Maven caches, using GitHub Actions cache so the
slow UC build only runs the first time a pin is seen. Reads SPARK_VERSION (Spark major.minor
short form) from the calling job's env to pick the Spark variant UC builds against; matrix
workflows set this from `matrix.spark_version`, other workflows leave it unset and inherit the
script's default. The cache key reflects SPARK_VERSION literally - workflows that share the
default share one cache entry under an empty `spark-` segment.
Publishes the pinned Unity Catalog jars to the runner's local Ivy and Maven repositories.
Restores the cache for SPARK_VERSION (major.minor) and builds missing jars. When SPARK_VERSION
is unset, the setup script uses its default version and those callers share a cache.
Only designated producers save caches on master pushes.

inputs:
save-cache:
description: Whether this job produces the shared UC cache on a master push.
required: false
default: 'false'

runs:
using: "composite"
Expand All @@ -20,18 +23,15 @@ runs:
~/.ivy2/local
~/.m2/repository/io/unitycatalog
# Cache key hashes the setup script (so any script change invalidates) and includes the
# Spark short version (so 4.0 and 4.1 don't fight over a single shared cache entry).
# Spark short version (so 4.1 and 4.2 don't fight over a single shared cache entry).
key: uc-jars-${{ runner.os }}-spark${{ env.SPARK_VERSION }}-${{ hashFiles('project/scripts/setup_unitycatalog_main.sh') }}
- name: Build Unity Catalog from pinned SHA
shell: bash
run: bash project/scripts/setup_unitycatalog_main.sh
- name: Save pinned UC cache
# Only attempt a save when the restore missed. When multiple parallel matrix jobs all see
# a cache miss (first CI run after a pin bump), only the first to reach this step wins the
# GHA cache reservation; the rest log "another job may be creating this cache" warnings.
# Gating on cache-hit means cached runs (the common steady state) skip the save entirely,
# which eliminates those warnings on every subsequent run.
if: steps.uc-cache.outputs.cache-hit != 'true'
if: >-
inputs.save-cache == 'true' && github.event_name == 'push' &&
github.ref == 'refs/heads/master' && steps.uc-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
Expand Down
49 changes: 0 additions & 49 deletions .github/ci-requirements/spark-python/spark4.0.in

This file was deleted.

Loading