TJX2014 commented on pull request #29156:
URL: https://github.com/apache/spark/pull/29156#issuecomment-662487204


   > > cannot resolve 'id' given input columns: [cte.id];
   > 
   > Do you know how this happens? The `id` column is there.
   
   Because the hint resolve ignore hint in CTE, and the `id` in cte is remained 
unresolved. While apply `CTESubstitution`, in branch 2.4, we have a chance to 
executeSameContext of Analyzer to apply all rules to CTE include hint resolve.
   and in Branch 3.0, because CTESubstitution is moved to a separated class, we 
miss the feature 


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

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



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

Reply via email to