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
相关文章
相关标签/搜索