shouweikun commented on a change in pull request #15060:
URL: https://github.com/apache/flink/pull/15060#discussion_r590010182
##########
File path: docs/content/docs/connectors/table/hive/hive_read_write.md
##########
@@ -409,6 +409,28 @@ This configuration is set in the `TableConfig` and will
affect all sinks of the
</tbody>
</table>
+### Sink Parallelism
+
+The parallelism of writing data into Hive can be configured by the
corresponding table option. By default, the parallelism is configured to being
the same as the parallelism of its last upstream chained operator. When the
parallelism which is different from the parallelism of the upstream parallelism
is configured, the writer operator will apply the parallelism.
+
+<table class="table table-bordered">
+ <thead>
+ <tr>
+ <th class="text-left" style="width: 20%">Key</th>
+ <th class="text-left" style="width: 15%">Default</th>
+ <th class="text-left" style="width: 10%">Type</th>
+ <th class="text-left" style="width: 55%">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><h5>sink.parallelism</h5></td>
Review comment:
Hi @lirui-apache, thx for ur suggest. Actually HiveSink in streaming
mode is based on FileSystemSink, but seems to be not in batch mode. I'm not
sure it is reasonable to link to FileSytemSink. I also noticed the ref in
`FileSystemOptions`:
> This class holds configuration constants used by filesystem(Including
hive) connector.
So I think it is Ok to just keep that.
Well, correct me if I'm wrong~
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]