scala.MatchError: StringType (of class org.apache.spark.sql.types.StringType$)

spark-user | Bonsen | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    sql:Exception in thread "main" scala.MatchError: StringType

    spark-user | 1 year ago | Bonsen
    scala.MatchError: StringType (of class org.apache.spark.sql.types.StringType$)
  2. 0

    sql:Exception in thread "main" scala.MatchError: StringType

    incubator-spark-user | 1 year ago | Bonsen
    scala.MatchError: StringType (of class org.apache.spark.sql.types.StringType$)

    1 unregistered visitors

    Root Cause Analysis

    1. scala.MatchError

      StringType (of class org.apache.spark.sql.types.StringType$)

      at org.apache.spark.sql.json.InferSchema$.apply()
    2. Spark Project SQL
      JSONRelation$$anonfun$schema$1.apply
      1. org.apache.spark.sql.json.InferSchema$.apply(InferSchema.scala:58)
      2. org.apache.spark.sql.json.JSONRelation$$anonfun$schema$1.apply(JSONRelation.scala:139)
      2 frames