Sh-Zh-7 commented on code in PR #15151:
URL: https://github.com/apache/iotdb/pull/15151#discussion_r2096899551


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/FilterAndProjectOperator.java:
##########
@@ -170,6 +170,7 @@ private TsBlock getFilterTsBlock(TsBlock input) {
     if (!hasNonMappableUDF) {
       // get result of calculated common sub expressions
       for (ColumnTransformer columnTransformer : commonTransformerList) {
+        columnTransformer.tryEvaluate();

Review Comment:
   Window function use CASE WHEN operator, which would clear all its cache in 
the end for efficiency purpose.
   
   If there is CASE WHEN, and no `.tryEvaluate()`, the `.getColumn()` would 
return null.



-- 
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]

Reply via email to