CrownChu commented on code in PR #7933:
URL: https://github.com/apache/paimon/pull/7933#discussion_r3308301335
##########
paimon-core/src/main/java/org/apache/paimon/table/source/VectorScanImpl.java:
##########
@@ -82,7 +82,17 @@ public Plan scan() {
return false;
}
int fieldId = globalIndex.indexFieldId();
- return vectorColumn.id() == fieldId ||
filterFieldIds.contains(fieldId);
+ if (vectorColumn.id() == fieldId ||
filterFieldIds.contains(fieldId)) {
+ return true;
+ }
+ if (globalIndex.extraFieldIds() != null) {
+ for (int id : globalIndex.extraFieldIds()) {
+ if (vectorColumn.id() == id ||
filterFieldIds.contains(id)) {
+ return true;
+ }
Review Comment:
same as last comment,fixed
--
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]