manolama commented on code in PR #38423:
URL: https://github.com/apache/arrow/pull/38423#discussion_r1385848843
##########
java/vector/src/main/java/org/apache/arrow/vector/dictionary/DictionaryProvider.java:
##########
@@ -79,15 +84,24 @@ public final Set<Long> getDictionaryIds() {
}
@Override
- public Dictionary lookup(long id) {
+ public BaseDictionary lookup(long id) {
return map.get(id);
}
@Override
public void close() {
- for (Dictionary dictionary : map.values()) {
+ for (BaseDictionary dictionary : map.values()) {
dictionary.getVector().close();
}
}
+
+ @Override
+ public void resetBatchedDictionaries() {
Review Comment:
Should I just make a generic reset API with the `Dictionary` having a no-op
reset?
--
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]