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

[Doc] Add doc for the incoming 1.2.10 #390

Merged
merged 4 commits into from
Oct 25, 2024
Merged

Conversation

banmoy
Copy link
Collaborator

@banmoy banmoy commented Oct 24, 2024

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Which issues of this PR fixes :

Fixes #

Problem Summary(Required) :

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr will affect users' behaviors
  • This pr needs user documentation (for new or modified features or behaviors)
  • I have added documentation for my new feature or new function

@@ -111,6 +113,7 @@ In your Maven project's `pom.xml` file, add the Flink connector as a dependency
| sink.properties.row_delimiter | No | \n | The row delimiter for CSV-formatted data. |
| sink.properties.max_filter_ratio | No | 0 | The maximum error tolerance of the Stream Load. It's the maximum percentage of data records that can be filtered out due to inadequate data quality. Valid values: `0` to `1`. Default value: `0`. See [Stream Load](https://docs.starrocks.io/en-us/latest/sql-reference/sql-statements/data-manipulation/STREAM%20LOAD) for details. |
| sink.properties.strict_mode | No | false | Specifies whether to enable the strict mode for Stream Load. It affects the loading behavior when there are unqualified rows, such as inconsistent column values. Valid values: `true` and `false`. Default value: `false`. See [Stream Load](https://docs.starrocks.io/en-us/latest/sql-reference/sql-statements/data-manipulation/STREAM%20LOAD) for details. |
| sink.properties.compression | No | NONE | The compression algorithm used for Stream Load. Currently only support json format. Valid values: `lz4_frame`. |

Choose a reason for hiding this comment

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

The compression algorithm used for Stream Load. Currently, compression is only supported for the JSON format. Valid values: NONE (compression will not be used) and lz4_frame.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Refine the description. NONE means not set the option, but it's not a valid value.

@@ -102,6 +103,7 @@ In your Maven project's `pom.xml` file, add the Flink connector as a dependency
| sink.buffer-flush.interval-ms | No | 300000 | The interval at which data is flushed. This parameter is available only when `sink.semantic` is `at-least-once`. Valid values: 1000 to 3600000. Unit: ms. |
| sink.max-retries | No | 3 | The number of times that the system retries to perform the Stream Load job. This parameter is available only when you set `sink.version` to `V1`. Valid values: 0 to 10. |
| sink.connect.timeout-ms | No | 30000 | The timeout for establishing HTTP connection. Valid values: 100 to 60000. Unit: ms. Before 1.2.9, the default value is 1000. |
| sink.socket.timeout-ms | No | -1 | Supported sink 1.2.10. It's the timeout in milliseconds that the http client waits for data. Unit: ms. The default value `-1` means there is no timeout. |

Choose a reason for hiding this comment

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

Supported since version 1.2.10. The time duration for which the HTTP client waits for data. Unit: ms. The default value -1 means no timeout is applied.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

Signed-off-by: PengFei Li <[email protected]>
@@ -141,6 +142,10 @@ The following data type mapping is valid only for Flink reading data from StarRo
| DECIMAL128 | DECIMAL |
| CHAR | CHAR |
| VARCHAR | STRING |
| JSON | STRING <br> **NOTE:** <br> **Supported since version 1.2.10, and need StarRocks v3.1.12 or later** |

Choose a reason for hiding this comment

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

and StarRocks v3.1.12 or later is required.

下同

Signed-off-by: PengFei Li <[email protected]>
@banmoy banmoy merged commit 831add1 into StarRocks:main Oct 25, 2024
3 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.

2 participants