KevinyhZou commented on a change in pull request #15068:
URL: https://github.com/apache/flink/pull/15068#discussion_r590370037



##########
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:
       From the debug log, it is the same problem: partition key field not 
found. the projected fields do not include the partition column both in `select 
x, y from ..` and `selecrt * from .. where` .




----------------------------------------------------------------
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


Reply via email to