JingsongLi commented on a change in pull request #10381: [FLINK-14513][hive] 
Implement listPartitionsByFilter to HiveCatalog
URL: https://github.com/apache/flink/pull/10381#discussion_r355181647
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveTableSource.java
 ##########
 @@ -126,7 +127,7 @@ public boolean isBounded() {
        @Override
        public DataStream<BaseRow> getDataStream(StreamExecutionEnvironment 
execEnv) {
                if (!initAllPartitions) {
-                       initAllPartitions();
+                       initAllPartitions(null);
 
 Review comment:
   Can we just `getPartitionInfos` here?
   We don't need `initAllPartitions` and `partitionSpec2HiveTablePartition` in 
the class member.

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


With regards,
Apache Git Services

Reply via email to