java.lang.RuntimeException: No data selected!

Stack Overflow | Rockie Yang | 2 months ago
  1. 0

    Can I create a function in Spark SQL?

    Stack Overflow | 2 years ago | user3826955
    java.lang.RuntimeException: [1.1] failure:</code>INSERT'' expected but identifier CREATE found</p> <p>CREATE OR REPLACE FUNCTION apply_rules (pcode VARCHAR2) RETURN BOOLEAN AS LANGUAGE JAVA NAME 'main.scala.GroovyIntegrator.applyRules (java.lang.String) return java.lang.Boolean'; ^
  2. 0

    Append Mode is not Enabled for AvroSaver

    GitHub | 1 year ago | mkanchwala
    java.lang.RuntimeException: Append mode is not supported by com.databricks.spark.avro.DefaultSource
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Saving / exporting transformed DataFrame back to JDBC / MySQL

    Stack Overflow | 1 year ago | Matt Zukowski
    java.lang.RuntimeException: org.apache.spark.sql.execution.datasources.jdbc.DefaultSource does not allow create table as select.
  5. 0

    GC segfaults on macOS 10.12

    GitHub | 2 months ago | LukasKellenberger
    java.lang.RuntimeException: Nonzero exit code: 139

  1. Handemelindo 1 times, last 2 weeks ago
  2. rp 4 times, last 1 month ago
  3. rp 1 times, last 2 months ago
  4. balintn 3 times, last 2 months ago
  5. max_samebug 2 times, last 2 months ago
13 more registered users
70 unregistered visitors
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

    No data selected!

    at scala.sys.package$.error()
  2. Scala
    package$.error
    1. scala.sys.package$.error(package.scala:27)
    1 frame
  3. org.apache.spark
    MemoryStream$$anonfun$getBatch$4.apply
    1. org.apache.spark.sql.execution.streaming.MemoryStream$$anonfun$getBatch$4.apply(memory.scala:110)
    2. org.apache.spark.sql.execution.streaming.MemoryStream$$anonfun$getBatch$4.apply(memory.scala:110)
    2 frames
  4. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  5. org.apache.spark
    StreamExecution$$anonfun$5.apply
    1. org.apache.spark.sql.execution.streaming.MemoryStream.getBatch(memory.scala:109)
    2. org.apache.spark.sql.execution.streaming.StreamExecution$$anonfun$5.apply(StreamExecution.scala:332)
    3. org.apache.spark.sql.execution.streaming.StreamExecution$$anonfun$5.apply(StreamExecution.scala:329)
    3 frames
  6. Scala
    IterableLike$class.foreach
    1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
    2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
    3. scala.collection.Iterator$class.foreach(Iterator.scala:893)
    4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
    5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
    5 frames
  7. org.apache.spark
    StreamProgress.foreach
    1. org.apache.spark.sql.execution.streaming.StreamProgress.foreach(StreamProgress.scala:25)
    1 frame
  8. Scala
    TraversableLike$class.flatMap
    1. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)
    1 frame
  9. org.apache.spark
    StreamExecution$$anon$1.run
    1. org.apache.spark.sql.execution.streaming.StreamProgress.flatMap(StreamProgress.scala:25)
    2. org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatch(StreamExecution.scala:329)
    3. org.apache.spark.sql.execution.streaming.StreamExecution$$anonfun$org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches$1.apply$mcZ$sp(StreamExecution.scala:194)
    4. org.apache.spark.sql.execution.streaming.ProcessingTimeExecutor.execute(TriggerExecutor.scala:43)
    5. org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runBatches(StreamExecution.scala:184)
    6. org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:120)
    6 frames