alexeykudinkin commented on code in PR #6680:
URL: https://github.com/apache/hudi/pull/6680#discussion_r1003677144
##########
hudi-common/src/main/java/org/apache/hudi/BaseHoodieTableFileIndex.java:
##########
@@ -347,6 +417,17 @@ private void validate(HoodieTimeline activeTimeline,
Option<String> queryInstant
}
}
+ protected boolean isAllInputFileSlicesCached() {
+ if (cachedAllPartitionPaths == null) {
+ return false;
+ }
+ return cachedAllPartitionPaths.stream().allMatch(p ->
cachedAllInputFileSlices.containsKey(p));
+ }
+
+ protected boolean isPartitionedTable() {
+ return !queryAsNonePartitionedTable && (partitionColumns.length > 0 ||
HoodieTableMetadata.isMetadataTable(basePath.toString()));
Review Comment:
I see. Makes sense, let's keep it then for now and tackle this later. Thanks
for checking though!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]