lirui-apache commented on a change in pull request #15068: URL: https://github.com/apache/flink/pull/15068#discussion_r590942798
########## File path: flink-connectors/flink-connector-hive/src/test/java/org/apache/flink/connectors/hive/HiveTableSourceITCase.java ########## @@ -572,7 +572,8 @@ public void testStreamPartitionReadByPartitionName() throws Exception { .commit("pt_year='2020',pt_mon='09',pt_day='03'"); TableResult result = - tEnv.executeSql("select * from hive.source_db.stream_partition_name_test"); + tEnv.executeSql( + "select * from hive.source_db.stream_partition_name_test where pt_year = '2020'"); Review comment: I see. Since we filter partition by a literal, the partition value doesn't need to be selected from the source. Thanks for the explanations. ---------------------------------------------------------------- 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: us...@infra.apache.org