spark sql group by 出現問題

hiveContext.sql("select time,count(*) from page_click group by id").collect.foreach(println) //報錯 org.apache.spark.sql.AnalysisException: expression 'page_click.`time`' is neither present in the group
相關文章
相關標籤/搜索