luoyuxia commented on code in PR #19482: URL: https://github.com/apache/flink/pull/19482#discussion_r914770474
########## 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. +### Read Partition With Subdirectory + +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 configure `table.exec.hive.read-partition-with-subdirectory.enabled` to allow Flink to read the sub-directories or skip them directly. +The default value is true, it will read the sub-directories. Otherwise, it will throw the exception "not a file: xxx" when the partition directory contains any sub-directory. Review Comment: Done. -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org