spark sql 2.3 源码解读 - antlr4 && SparkSqlParser (2.1)
接着上一篇文章,本章将介绍第1步:sql语句经过SqlParser解析成UnresolvedLogicalPlan当我们执行:valsqlDF=spark.sql("SELECTnameFROMpeopleorderbyname")看一下sql函数:defsql(sqlText:String):DataFrame={Dataset.ofRows(self,sessionState.sqlParse