Repository navigation
[chore](paimon) Upgrade the docker Spark fixture to Paimon 1.4.2 #69224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
morningman
merged 2 commits into
apache:master
from
morningman:b2m-t26-paimon-docker-142
Oct 19, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
regression-test/data/external_table_p0/paimon/test_paimon_partition_table.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,30 @@ | ||
| -- This file is automatically generated. You should know what you did if you want to edit this | ||
| -- !show_partition_sales_by_date -- | ||
| sale_date=2024-01-15 sale_date 2 2216 1 | ||
| sale_date=2024-01-16 sale_date 2 4217 2 | ||
| sale_date=2024-01-17 sale_date 1 2118 1 | ||
| sale_date=2024-01-15 sale_date 2 2100 1 | ||
| sale_date=2024-01-16 sale_date 2 3985 2 | ||
| sale_date=2024-01-17 sale_date 1 2002 1 | ||
|
|
||
| -- !show_partition_sales_by_region -- | ||
| region=China-Beijing region 1 2425 1 | ||
| region=Japan-Tokyo region 1 2420 1 | ||
| region=USA-California region 1 2454 1 | ||
| region=China-Beijing region 1 2295 1 | ||
| region=Japan-Tokyo region 1 2290 1 | ||
| region=USA-California region 1 2324 1 | ||
|
|
||
| -- !show_partition_sales_by_date_region -- | ||
| sale_date=2024-01-15/region=China-Beijing sale_date,region 1 2627 1 | ||
| sale_date=2024-01-15/region=Japan-Tokyo sale_date,region 1 2614 1 | ||
| sale_date=2024-01-15/region=USA-California sale_date,region 1 2655 1 | ||
| sale_date=2024-01-16/region=China-Shanghai sale_date,region 1 2636 1 | ||
| sale_date=2024-01-16/region=Japan-Osaka sale_date,region 1 2636 1 | ||
| sale_date=2024-01-16/region=USA-New York sale_date,region 1 2643 1 | ||
| sale_date=2024-01-15/region=China-Beijing sale_date,region 1 2485 1 | ||
| sale_date=2024-01-15/region=Japan-Tokyo sale_date,region 1 2472 1 | ||
| sale_date=2024-01-15/region=USA-California sale_date,region 1 2513 1 | ||
| sale_date=2024-01-16/region=China-Shanghai sale_date,region 1 2494 1 | ||
| sale_date=2024-01-16/region=Japan-Osaka sale_date,region 1 2494 1 | ||
| sale_date=2024-01-16/region=USA-New York sale_date,region 1 2501 1 | ||
|
|
||
| -- !show_partition_events_by_hour -- | ||
| hour_partition=2024-01-15-10 hour_partition 2 2361 1 | ||
| hour_partition=2024-01-15-11 hour_partition 2 4515 2 | ||
| hour_partition=2024-01-15-14 hour_partition 2 2371 1 | ||
| hour_partition=2024-01-15-10 hour_partition 2 2245 1 | ||
| hour_partition=2024-01-15-11 hour_partition 2 4283 2 | ||
| hour_partition=2024-01-15-14 hour_partition 2 2255 1 | ||
|
|
||
| -- !show_partition_logs_by_date_hierarchy -- | ||
| year_val=2024/month_val=1/day_val=15 year_val,month_val,day_val 2 2841 1 | ||
| year_val=2024/month_val=1/day_val=16 year_val,month_val,day_val 2 5323 2 | ||
| year_val=2024/month_val=1/day_val=17 year_val,month_val,day_val 1 2658 1 | ||
| year_val=2024/month_val=2/day_val=1 year_val,month_val,day_val 1 2686 1 | ||
| year_val=2024/month_val=1/day_val=15 year_val,month_val,day_val 2 2701 1 | ||
| year_val=2024/month_val=1/day_val=16 year_val,month_val,day_val 2 5042 2 | ||
| year_val=2024/month_val=1/day_val=17 year_val,month_val,day_val 1 2517 1 | ||
| year_val=2024/month_val=2/day_val=1 year_val,month_val,day_val 1 2546 1 | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P2] Refresh cached jars before switching these mounts
After an existing Iceberg environment is updated to this revision, running
run-thirdparties-docker.sh -c icebergretains itsdata/directory and skips the new archive download (start_iceberg, lines 1440–1457). The previous archive contains only the two Paimon 1.3.1 jars, so neither new 1.4.2 source path exists. Compose creates directories for missing short-syntax bind sources, leaving Spark without the Paimon catalog classes. Paimon fixture initialization and the suite'sspark_paimonqueries then fail to load the configured catalog. Please refresh the required jars or detect and invalidate an incompatible cached fixture before starting Compose.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in
10327556968. Agreed on the mechanism:start_icebergdownloads the archive only whendata/is absent, so an environment extracted from the previous archive kept only the Paimon 1.3.1 jars, and Compose created empty directories for the new 1.4.2 mount sources. CI starts from a clean environment on every run, which is why the External pipeline passed; local environments stayed broken untildata/was removed by hand. branch-4.x and the earlier archive switch in #61149 have the same gap.start_icebergnow checks every jar thaticeberg.yamlmounts fromdata/input/jarsbefore it decides whether to download. If one is missing, or is a directory Compose created, the staledata/is removed and the current archive is extracted again, the same as a fresh install. A later jar change iniceberg.yamlis picked up the same way.Checked on four layouts: all mounted jars present (kept), a
data/from the old archive (re-extracted), a jar path that Compose had created as a directory (re-extracted), and nodata/(downloaded as before).run-thirdparties-docker.sh -c icebergagainst an up-to-datedata/keeps it and starts the stack as before.