stevenzwu commented on a change in pull request #4181:
URL: https://github.com/apache/iceberg/pull/4181#discussion_r816066848
##########
File path: docs/versioned/flink/flink-getting-started.md
##########
@@ -547,6 +547,33 @@ RewriteDataFilesActionResult result =
Actions.forTable(table)
For more doc about options of the rewrite files action, please see
[RewriteDataFilesAction](../../../javadoc/{{% icebergVersion
%}}/org/apache/iceberg/flink/actions/RewriteDataFilesAction.html)
+## Configuration.
+
+The following options can be used to tune the performance of the query
execution.
+
+| Key | Default | Type |
Description
|
+|:-----------------------------------------------:| ------- | ------- |
--------------------------------------------------------------------------------------------------------------------------------
|
+| table.exec.iceberg.infer-source-parallelism | True | Boolean | If is
false, parallelism of source are set by config.<br/>If is true, source
parallelism is inferred according to splits number. |
+| table.exec.iceberg.infer-source-parallelism.max | 100 | Int | Sets
max infer parallelism for source operator.
|
+| table.exec.iceberg.expose-split-locality-info | None | Boolean | Expose
split host information to use Flink's locality aware split assigner.
|
+
+Usage:
Review comment:
@hililiwei I added some sample code in the Javadoc for the
`FlinkConfigOptions` class
https://github.com/apache/iceberg/pull/4060/files#diff-cb10b0c952e576ba625a982a097f0442fb39c4b26e273c69ebf24204e42356ce
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]