相关疑难解决方法(0)

在Spark SQL中更新查询

我想知道我可以在sparksql中使用更新查询,就像:

sqlContext.sql("update users set name = '*' where name is null")
Run Code Online (Sandbox Code Playgroud)

我收到了错误:

org.apache.spark.sql.AnalysisException: 
Unsupported language features in query:update users set name = '*' where name is null
Run Code Online (Sandbox Code Playgroud)

如果sparksql不支持更新查询或我是否正确编写代码?

apache-spark apache-spark-sql

9
推荐指数
1
解决办法
2万
查看次数

标签 统计

apache-spark ×1

apache-spark-sql ×1