Skip to content
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

[iceberg][doc] add docs about iceberg migration #5097

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

LsomeYeah
Copy link
Contributor

Purpose

Linked issue: close #xxx

add the documents about iceberg migration

Tests

API and Format

Documentation

</tr>
<tr>
<td>migrate_iceberg_table</td>
<td>
Copy link
Contributor

Choose a reason for hiding this comment

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

It would better to move the part to place after migrate_table

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea! I'll move this item after migrate_table.

<td>
To migrate iceberg table to paimon. Arguments:
<li>source_table: string type, is used to specify the source iceberg table to migrate, it's required.</li>
<li>iceberg_options: string type, is used to specify the configuration of migration, multiple configuration items are separated by commas. it's required.</li>
Copy link
Contributor

@liyubin117 liyubin117 Feb 19, 2025

Choose a reason for hiding this comment

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

Doc conflicts with hint definition, is iceberg_options required or optional?

    @ProcedureHint(
            argument = {
                @ArgumentHint(name = "source_table", type = @DataTypeHint("STRING")),
                @ArgumentHint(
                        name = "iceberg_options",
                        type = @DataTypeHint("STRING"),
                        isOptional = true),
                @ArgumentHint(name = "options", type = @DataTypeHint("STRING"), isOptional = true),
                @ArgumentHint(
                        name = "parallelism",
                        type = @DataTypeHint("Integer"),
                        isOptional = true)
            })

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the correction! iceberg_options is required. There is a bug in the definition, I'll fix it.

@LsomeYeah LsomeYeah force-pushed the migrate-iceberg-doc-commit branch from 8ad3ddc to 55a501d Compare February 19, 2025 06:15
@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit c0465f9 into apache:master Mar 3, 2025
2 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