Skip to content

[feat] add iceberg publish_changes and order by#3172

Merged
morningman merged 4 commits intoapache:masterfrom
xylaaaaa:feat/iceberg-publish-changes
Feb 22, 2026
Merged

[feat] add iceberg publish_changes and order by#3172
morningman merged 4 commits intoapache:masterfrom
xylaaaaa:feat/iceberg-publish-changes

Conversation

@xylaaaaa
Copy link
Contributor

@xylaaaaa xylaaaaa commented Dec 9, 2025

Issue Number: apache/doris#56002
Related PR:
apache/doris#58755
apache/doris#60684

Versions

  • dev
  • 4.x
  • 3.x
  • 2.1

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

@xylaaaaa
Copy link
Contributor Author

xylaaaaa commented Dec 9, 2025

run buildall

@morningman morningman force-pushed the feat/iceberg-publish-changes branch from 7e0c2bb to f644e04 Compare February 22, 2026 08:53
Copilot AI review requested due to automatic review settings February 22, 2026 08:53
@morningman morningman changed the title Feat/iceberg publish changes [feat] add iceberg publish_changes and order by Feb 22, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds documentation for two new Iceberg features and includes numerous formatting improvements across multiple documentation versions. The changes are synchronized across English and Chinese documentation for both current and versioned docs (3.x and 4.x).

Changes:

  • Added documentation for the publish_changes operation, which supports the WAP (Write-Audit-Publish) pattern for Iceberg tables
  • Added documentation for specifying sort columns (ORDER BY clause) when creating Iceberg tables in version 4.1.0+
  • Fixed numerous formatting issues including trailing whitespace, inconsistent spacing around equals signs in property definitions, and removed extra blank lines

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
versioned_docs/version-4.x/lakehouse/catalogs/iceberg-catalog.mdx Added publish_changes operation and ORDER BY documentation in English for version 4.x
versioned_docs/version-3.x/lakehouse/catalogs/iceberg-catalog.mdx Added publish_changes operation and ORDER BY documentation in English for version 3.x
i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/iceberg-catalog.mdx Formatting fixes and full-width character corrections in Chinese version 4.x
i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/lakehouse/catalogs/iceberg-catalog.mdx Formatting fixes and full-width character corrections in Chinese version 3.x
i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.mdx Formatting fixes and full-width character corrections in current Chinese version
docs/lakehouse/catalogs/iceberg-catalog.mdx Added publish_changes operation and ORDER BY documentation in current English version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2578 to +2579
**Parameters:**

Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The "Parameters:" heading is duplicated on lines 2576-2578. One of these duplicate headings should be removed.

Suggested change
**Parameters:**

Copilot uses AI. Check for mistakes.
Comment on lines +2578 to +2579
**Parameters:**

Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The "Parameters:" heading is duplicated on lines 2576-2578. One of these duplicate headings should be removed.

Suggested change
**Parameters:**

Copilot uses AI. Check for mistakes.
Comment on lines +2578 to +2579
**Parameters:**

Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The "Parameters:" heading is duplicated on lines 2576-2578. One of these duplicate headings should be removed.

Suggested change
**Parameters:**

Copilot uses AI. Check for mistakes.
Comment on lines +1797 to +1807
Starting from version 4.1.0, Doris supports specifying sort columns when creating an Iceberg table. When writing data, the data will be sorted according to the specified sort columns to achieve better query performance.

```sql
CREATE TABLE ordered_table (
`id` int NULL,
`name` text NULL,
`score` double NULL,
`create_time` datetimev2(6) NULL
)
ORDER BY (`id` ASC NULLS FIRST, `score` DESC NULLS LAST)
PROPERTIES (
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The documentation states this feature is available "Starting from version 4.1.0", but this documentation is being added to the version-3.x documentation files. If this feature is not actually available in version 3.x, this documentation should not be added to the version-3.x files. Additionally, the PR description indicates that 3.x is not checked, which conflicts with the changes being made to version-3.x files.

Copilot uses AI. Check for mistakes.
@morningman morningman merged commit 8be22e4 into apache:master Feb 22, 2026
5 checks passed
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.

3 participants