Skip to content

[docs] Fix stale Flink action examples, Spark bucketed join setup and JDBC lock backends - #10997

Open
thswlsqls wants to merge 1 commit into
apache:masterfrom
thswlsqls:docs/fix-stale-action-examples-bucketed-join-jdbc-lock
Open

thswlsqls wants to merge 1 commit into
apache:masterfrom
thswlsqls:docs/fix-stale-action-examples-bucketed-join-jdbc-lock

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Purpose

fix #10996

Tests

  • Docs-only change, no test added. Checked the new links return HTTP 200; the site build was not run locally.

… JDBC lock backends

- Use --warehouse/--database/--table in the action jar compact example;
  --path has been rejected by ActionFactory since apache#4728.
- Use --database/--table in the expire_snapshots action example and drop
  the unused --version argument.
- Add spark.paimon.scan.preserve-data-grouping to the Spark bucketed join
  examples, which is required since apache#10076.
- List PostgreSQL among the databases supporting the JDBC catalog lock.
- Fix broken external links in the Variant, filesystem and PyPaimon SQL docs.

Generated-by: Claude Code

@JingsongLi JingsongLi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The Flink action arguments, Spark grouping option, and JDBC dialect list match the current implementation. The local Docusaurus production build and OpenAPI validation pass, and all three replacement URLs respond with HTTP 200. One link still needs to lead readers to the correct engine.

From version 0.8, paimon-trino uses trino filesystem as basic file read and write system. We strongly recommend you to use jindo-sdk in trino.

You can find [How to config jindo sdk on trino](https://github.com/aliyun/alibabacloud-jindodata/blob/master/docs/user/4.x/4.6.x/4.6.12/oss/presto/jindosdk_on_presto) here.
You can find [How to config jindo sdk on trino](https://github.com/aliyun/alibabacloud-jindodata/blob/master/docs/user/4.x/4.6.x/4.6.12/oss/presto/jindosdk_on_presto.md) here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[P2] Link to the Trino setup guide

The new URL opens a Presto guide that installs the jars under $PRESTO_HOME/plugin/hive-hadoop2/. Readers following this Trino section still have to translate Presto-specific paths and setup steps. Please link to the Trino guide and identify its OSS-HDFS scope. Alibaba Cloud Trino guide

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.

[Bug] Docs examples for Flink actions, Spark bucketed join and JDBC lock are out of date

2 participants