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

[GitHub] [flink] lsyldliu commented on a diff in pull request #19482: [FLINK-27244][hive] Support read sub-directories in partition directory with Hive tables

lsyldliu commented on code in PR #19482:
URL: https://github.com/apache/flink/pull/19482#discussion_r890744876


##########
docs/content.zh/docs/connectors/table/hive/hive_read_write.md:
##########
@@ -170,6 +170,13 @@ following parameters in `TableConfig` (note that these parameters affect all sou
 
 Multi-thread is used to split hive's partitions. You can use `table.exec.hive.load-partition-splits.thread-num` to configure the thread number. The default value is 3 and the configured value should be bigger than 0.
 
+###
+
+In some case, you may create an external table referring another table, but the partition columns is a subset of the referred table.
+Then when read the external table, there will be sub-directories in the partition directory of the external table.
+You can use `table.exec.hive.read-partition-with-subdirectory.enabled` to configure Flink to read the sub-directories or skip them directly.

Review Comment:
   You can configure `table.exec.hive.read-partition-with-subdirectory.enabled` to allow Flink read ?



-- 
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@flink.apache.org

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