shuaiqig opened a new pull request, #5468:
URL: https://github.com/apache/hive/pull/5468

   
   ### What changes were proposed in this pull request?
   
   https://issues.apache.org/jira/browse/HIVE-28541
   
    - check `isMaterializedTable()` before adding elements into 
`Collection<ReadEntity>`
    - add materialized CTE's real `ReadEntity` into parent's `inputs`
   
   ### Why are the changes needed?
   it is a bug, which caused an exception when I used 
`hive.optimize.cte.materialize.threshold`
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### Is the change a dependency upgrade?
   No
   
   
   ### How was this patch tested?
   It is hard to test with simple units. I tested and deployed it in my 
production environment.
   
   


-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to