JackieTien97 opened a new pull request, #18186:
URL: https://github.com/apache/iotdb/pull/18186

   ## Summary
   
   - move CTE materialization results from the reusable Query AST to an 
execution-local context
   - share materialized data only among inner queries of the same top-level 
execution
   - preserve one-time materialization for repeated references while allowing 
independent EXECUTE commands to materialize independently
   - clear execution-local CTE state before a top-level retry
   
   ## Tests
   
   - `mvn test-compile -pl iotdb-core/datanode -am -DskipTests`
   - `mvn test -pl iotdb-core/datanode -am -Dtest=CteMaterializerStateTest 
-Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false`
   - `mvn test -pl iotdb-core/datanode -am 
-Dtest=CteMaterializerTest,CteSubqueryTest 
-Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false`
   - `mvn spotless:check -pl iotdb-core/datanode -am`


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