From 649b165fe62f04e6cad7cb7c52d697b1438eaa1b Mon Sep 17 00:00:00 2001 From: Muhammad Junaid Muzammil <4795269+junmuz@users.noreply.github.com> Date: Tue, 3 Feb 2026 05:01:52 -0800 Subject: [PATCH] Fixing the discrepancies inside the docs with respect to procedure parallelism --- docs/content/flink/procedures.md | 8 ++++---- docs/content/spark/procedures.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/flink/procedures.md b/docs/content/flink/procedures.md index cbbf88b32393..5f2d1e1e0a93 100644 --- a/docs/content/flink/procedures.md +++ b/docs/content/flink/procedures.md @@ -382,15 +382,15 @@ All available procedures are listed below. CALL sys.remove_orphan_files(`table` => 'default.T', older_than => '2023-10-31 12:00:00')

CALL sys.remove_orphan_files(`table` => 'default.*', older_than => '2023-10-31 12:00:00')

CALL sys.remove_orphan_files(`table` => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => true)

- CALL sys.remove_orphan_files(`table` => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => false, parallelism => '5')

- CALL sys.remove_orphan_files(`table` => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => false, parallelism => '5', mode => 'local') + CALL sys.remove_orphan_files(`table` => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => false, parallelism => 5)

+ CALL sys.remove_orphan_files(`table` => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => false, parallelism => 5, mode => 'local') remove_unexisting_files -- Use named argument
- CALL [catalog.]sys.remove_unexisting_files(`table` => 'identifier', dry_run => 'dryRun', parallelism => 'parallelism')

+ CALL [catalog.]sys.remove_unexisting_files(`table` => 'identifier', dry_run => 'dryRun', parallelism => parallelism)

-- Use indexed argument
CALL [catalog.]sys.remove_unexisting_files('identifier')
CALL [catalog.]sys.remove_unexisting_files('identifier', 'dryRun', 'parallelism') @@ -835,7 +835,7 @@ All available procedures are listed below. rescale - CALL [catalog.]sys.rescale(`table` => 'identifier', `bucket_num` => bucket_num, `partition` => 'partition', `scan_parallelism` => 'scan_parallelism', `sink_parallelism` => 'sink_parallelism') + CALL [catalog.]sys.rescale(`table` => 'identifier', `bucket_num` => bucket_num, `partition` => 'partition', `scan_parallelism` => scan_parallelism, `sink_parallelism` => sink_parallelism) Rescale one partition of a table. Arguments: diff --git a/docs/content/spark/procedures.md b/docs/content/spark/procedures.md index 1b8959d6bf15..8770e75e4202 100644 --- a/docs/content/spark/procedures.md +++ b/docs/content/spark/procedures.md @@ -259,8 +259,8 @@ This section introduce all available spark procedures about paimon. CALL sys.remove_orphan_files(table => 'default.T', older_than => '2023-10-31 12:00:00')

CALL sys.remove_orphan_files(table => 'default.*', older_than => '2023-10-31 12:00:00')

CALL sys.remove_orphan_files(table => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => true)

- CALL sys.remove_orphan_files(table => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => true, parallelism => '5')

- CALL sys.remove_orphan_files(table => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => true, parallelism => '5', mode => 'local') + CALL sys.remove_orphan_files(table => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => true, parallelism => 5)

+ CALL sys.remove_orphan_files(table => 'default.T', older_than => '2023-10-31 12:00:00', dry_run => true, parallelism => 5, mode => 'local')