-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[FLINK-35152][pipeline-connector/doris] Support create doris auto partition table #3871
base: master
Are you sure you want to change the base?
Conversation
@yuxiqian @lvyanquan @JNSimba PTAL |
Currently the partition function only supports date_trunc, and the partition column supports only DATE or DATETIME types, and the version of Doris must greater than 2.1.6. See more about <a href="https://doris.apache.org/docs/table-design/data-partitioning/auto-partitioning">Doris Auto Partitioning</a><br/> | ||
These properties are supported now:<br/> | ||
<code> table.create.auto-partition.properties.include</code>A collection of tables after route to include, separated by commas, supports regular expressions;<br/> | ||
<code> table.create.auto-partition.properties.exclude</code>A collection of tables after route to exclude, separated by commas, supports regular expressions;<br/> |
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.
It's better not to let user aware of the concept of route
, which will make it hard to understand.
<code> table.create.auto-partition.properties.default_partition_key</code>默认分区键;<br/> | ||
<code> table.create.auto-partition.properties.default_partition_unit</code>默认分区单位;<br/> | ||
<code> table.create.auto-partition.properties.DB.TABLE.partition_key</code>特定表的分区键,如未配置取默认分区键;<br/> | ||
<code> table.create.auto-partition.properties.DB.TABLE.partition_unit</code>特定表的分区单位,如未配置取默认分区单位。<br/> |
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.
Could we add these properties though transform?
This PR is to aim to support create auto partition table in doris sink.
SEE JIRA: https://issues.apache.org/jira/browse/FLINK-35152