org.apache.spark.sql.AnalysisException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 111#233146888
    via GitHub by hiltonmbr
    ,
  • GitHub comment 111#233147755
    via GitHub by kevinushey
    ,
  • Reference is ambiguous with SparkSQL CSV
    via Stack Overflow by user1004816
    ,
  • Duplicate columns in Spark Dataframe
    via Stack Overflow by Bamqf
    ,
  • Spark RDD - Scala write and Python read
    via Stack Overflow by freedev
    ,
    • org.apache.spark.sql.AnalysisException: Reference 'var' is ambiguous, could be: var#166, var#167.; at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.resolve(LogicalPlan.scala:264) at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.resolveQuoted(LogicalPlan.scala:168) at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan$$anonfun$resolve$1.apply(LogicalPlan.scala:130) at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan$$anonfun$resolve$1.apply(LogicalPlan.scala:129) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234) at scala.collection.Iterator$class.foreach(Iterator.scala:893) at scala.collection.AbstractIterator.foreach(Iterator.scala:1336) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at org.apache.spark.sql.types.StructType.foreach(StructType.scala:94)

    Users with the same issue

    rp
    1 times, last one,
    poroszd
    3 times, last one,
    bandoca
    1 times, last one,
    tyson925
    2 times, last one,