Spark常见问题
2020-02-19 本文已影响0人
躺着写代码
- Truncated the string representation of a plan since it was too large. This behavior can be adjusted by setting 'spark.debug.maxToStringFields' in SparkEnv.conf
解决:设置参数 spark.debug.maxToStringFields=200
-SQL操作进行自身表进行JOIN字段报错 org.apache.spark.sql.AnalysisException: cannot resolve 'a.lv
' given input columns:
解决:多包一层sql进行字段重命名