liancheng commented on issue #24842: [SPARK-28002][SQL] Support WITH clause 
column aliases
URL: https://github.com/apache/spark/pull/24842#issuecomment-500960976
 
 
   In fact, I was thinking, instead of adding test cases in the 
`SQLQuerySuite`, maybe it's better to add test cases in the 
[`PlanParserSuite`][1] and [`AnalysisSuite`][2].
   
   The changes in this PR are purely about the parsing phase and running 
full-blown SQL queries for parsing changes is slow and unnecessary. The Spark 
PR builder already takes a long time to finish, would be better to cut the cost 
whenever possible.
   
   [1]: 
https://github.com/apache/spark/blob/1217996f1574f758d8cccc1c4e3846452d24b35b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala
   [2]: 
https://github.com/apache/spark/blob/1217996f1574f758d8cccc1c4e3846452d24b35b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/AnalysisSuite.scala

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to