== SQL ==
select lastedittime form lg_edu_warehouse.dwd_student_allinfo_day_detailwhere dataflag=0
at org.apache.spark.sql.catalyst.parser.ParseException.withCommand(ParseDriver.scala:266) at org.apache.spark.sql.catalyst.parser.AbstractSqlParser.parse(ParseDriver.scala:133) at org.apache.spark.sql.execution.SparkSqlParser.parse(SparkSqlParser.scala:48) at org.apache.spark.sql.catalyst.parser.AbstractSqlParser.parsePlan(ParseDriver.scala:81) at org.apache.spark.sql.SparkSession.$anonfun$sql(SparkSession.scala:604) at org.apache.spark.sql.catalyst.QueryPlanningTracker.measurePhase(QueryPlanningTracker.scala:111) at org.apache.spark.sql.SparkSession.$anonfun$sql(SparkSession.scala:604) at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:763) at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:601) at StudentPrediectEveryday.EveryDayPrediect$.everyDayPrediect(EveryDayPrediect.scala:306) at StudentPrediectEveryday.EveryDayPrediect$.main(EveryDayPrediect.scala:267) at StudentPrediectEveryday.EveryDayPrediect.main(EveryDayPrediect.scala)
找到原因后,发现是from写错了,写成了form。但是SQL是不会将form报错的,所以需要仔细观察。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)