lirui-apache commented on a change in pull request #9310: [FLINK-13190]add test to verify partition pruning for HiveTableSource URL: https://github.com/apache/flink/pull/9310#discussion_r310003988
########## File path: flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/connectors/hive/HiveTableSource.java ########## @@ -223,4 +226,10 @@ private Object restorePartitionValueFromFromType(String valStr, DataType type) { throw new FlinkHiveException( new IllegalArgumentException(String.format("Can not convert %s to type %s for partition value", valStr, type))); } + + @Override + public String explainSource() { + return super.explainSource() + String.format(" PartitionPruned: %s, partitionNums: %d", Review comment: Can we also add the db/table name here? It'll be helpful to debugging. ---------------------------------------------------------------- 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 With regards, Apache Git Services