morningman commented on code in PR #32253: URL: https://github.com/apache/doris/pull/32253#discussion_r1525707820
########## fe/be-java-extensions/java-common/src/main/java/org/apache/doris/common/jni/JniScanner.java: ########## @@ -33,6 +33,14 @@ public abstract class JniScanner { protected VectorTable vectorTable; protected String[] fields; protected ColumnType[] types; + @Deprecated + // This predicate is from BE, but no used. + // TODO: actually, we can generate the predicate for JNI scanner in FE's planner, + // then serialize it to BE, and BE pass it to JNI scanner directly. + // NO need to use this intermediate expression, because each JNI scanner has its + // own predicate expression format. + // For example, Paimon use "PaimonScannerUtils.decodeStringToObject(paimonPredicate)" + // to deserialize the predicate string to PaimonPredicate object. protected ScanPredicate[] predicates; Review Comment: I leave the related class. Maybe we can delete it when refactor this logic. We still need a predicate pushdown framework -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org