java.lang.RuntimeException: [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^

spark-user | java8964 | 2 years ago
  1. 0

    RE: SparkSql - java.util.NoSuchElementException: key not found: node when access JSON Array

    spark-user | 2 years ago | java8964
    java.lang.RuntimeException: [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^
  2. 0

    RE: SparkSql - java.util.NoSuchElementException: key not found: node when access JSON Array

    spark-user | 2 years ago | java8964
    java.lang.RuntimeException: [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^
  3. 0

    RE: SparkSql - java.util.NoSuchElementException: key not found: node when access JSON Array

    apache.org | 1 year ago
    java.lang.RuntimeException: [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: SparkSql - java.util.NoSuchElementException: key not found: node when access JSON Array

    apache.org | 1 year ago
    java.lang.RuntimeException: [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^
  6. 0

    RE: SparkSql - java.util.NoSuchElementException: key not found: node when access JSON Array

    apache.org | 11 months ago
    java.lang.RuntimeException: [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    [1.68] failure: ``UNION'' expected but identifier view found SELECT path,`timestamp`, name, value, pe.value FROM metric lateral view explode(pathElements) a AS pe ^

    at scala.sys.package$.error()
  2. Scala
    package$.error
    1. scala.sys.package$.error(package.scala:27)
    1 frame
  3. Spark Project Catalyst
    AbstractSparkSQLParser.apply
    1. org.apache.spark.sql.catalyst.AbstractSparkSQLParser.apply(SparkSQLParser.scala:33)
    1 frame
  4. Spark Project SQL
    SQLContext$$anonfun$1.apply
    1. org.apache.spark.sql.SQLContext$$anonfun$1.apply(SQLContext.scala:79)
    2. org.apache.spark.sql.SQLContext$$anonfun$1.apply(SQLContext.scala:79)
    2 frames
  5. Spark Project Catalyst
    SparkSQLParser$$anonfun$org$apache$spark$sql$catalyst$SparkSQLParser$$others$1.apply
    1. org.apache.spark.sql.catalyst.SparkSQLParser$$anonfun$org$apache$spark$sql$catalyst$SparkSQLParser$$others$1.apply(SparkSQLParser.scala:174)
    2. org.apache.spark.sql.catalyst.SparkSQLParser$$anonfun$org$apache$spark$sql$catalyst$SparkSQLParser$$others$1.apply(SparkSQLParser.scala:173)
    2 frames
  6. scala-parser-combinators
    Parsers$$anon$2$$anonfun$apply$14.apply
    1. scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:136)
    2. scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:135)
    3. scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:242)
    4. scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:242)
    5. scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222)
    6. scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:254)
    7. scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:254)
    8. scala.util.parsing.combinator.Parsers$Failure.append(Parsers.scala:202)
    9. scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254)
    10. scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:254)
    11. scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:222)
    12. scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:891)
    13. scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:891)
    13 frames
  7. Scala
    DynamicVariable.withValue
    1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
    1 frame
  8. scala-parser-combinators
    PackratParsers$$anon$1.apply
    1. scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:890)
    2. scala.util.parsing.combinator.PackratParsers$$anon$1.apply(PackratParsers.scala:110)
    2 frames
  9. Spark Project Catalyst
    AbstractSparkSQLParser.apply
    1. org.apache.spark.sql.catalyst.AbstractSparkSQLParser.apply(SparkSQLParser.scala:31)
    1 frame
  10. Spark Project SQL
    SQLContext$$anonfun$parseSql$1.apply
    1. org.apache.spark.sql.SQLContext$$anonfun$parseSql$1.apply(SQLContext.scala:83)
    2. org.apache.spark.sql.SQLContext$$anonfun$parseSql$1.apply(SQLContext.scala:83)
    2 frames
  11. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  12. Spark Project SQL
    SQLContext.sql
    1. org.apache.spark.sql.SQLContext.parseSql(SQLContext.scala:83)
    2. org.apache.spark.sql.SQLContext.sql(SQLContext.scala:303)
    2 frames
  13. com.opsdatastore.elasticsearch
    ElasticSearchReadWrite.main
    1. com.opsdatastore.elasticsearch.spark.ElasticSearchReadWrite$.main(ElasticSearchReadWrite.scala:97)
    2. com.opsdatastore.elasticsearch.spark.ElasticSearchReadWrite.main(ElasticSearchReadWrite.scala)
    2 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  15. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:358)
    2. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:75)
    3. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    3 frames