Spark DataFrame:value $ is not a member of StringContext df.select($"name", $"age" + 1).show()_value '$' is not a member of stringcontext-CSDN博客

网站介绍:文章浏览阅读3.5k次,点赞5次,收藏2次。错误信息Error:(29, 15) value $ is not a member of StringContext df.select($"name", $"age" + 1).show()解决方案··· //在创建SparkSession之后 import sparkSession.implicits._ ···..._value '$' is not a member of stringcontext