You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/02/28 06:48:22 UTC

[GitHub] [iceberg] openinx commented on a change in pull request #4181: Doc: Add flink configuration

openinx commented on a change in pull request #4181:
URL: https://github.com/apache/iceberg/pull/4181#discussion_r815616959



##########
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:
+
+```java
+// access flink configuration
+Configuration configuration = tEnv.getConfig().getConfiguration();
+// set low-level key-value options
+configuration.setStriFlinkConfigOptions.TABLE_EXEC_ICEBERG_INFER_SOURCE_PARALLELISMed", "true");

Review comment:
       Remove the extra `ed` from the `TABLE_EXEC_ICEBERG_INFER_SOURCE_PARALLELISMed` ?




-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org