java.util.NoSuchElementException

key not found: c_table

Samebug tips1

Check if the field you try to read really exists in the database. If it is optional, just use com.mongodb.casbah.commons.MongoDBObject#getAs


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web265

  • via Unknown by Selvam Raman,
  • via GitHub by peterfig
    ,
  • Stack trace

    • java.util.NoSuchElementException: key not found: c_table at scala.collection.MapLike$class.default(MapLike.scala:228) at org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.default(ddl.scala:151) at scala.collection.MapLike$class.apply(MapLike.scala:141) at org.apache.spark.sql.execution.datasources.CaseInsensitiveMap.apply(ddl.scala:151) at org.apache.spark.sql.cassandra.DefaultSource$.TableRefAndOptions(DefaultSource.scala:120)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    poroszdporoszd
    4 times, last one
    rprp
    Once,
    HandemelindoHandemelindo
    Once,
    AdarroAdarro
    17 times, last one
    Unknown visitor
    Unknown visitorOnce,
    13 more bugmates