You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
Error: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: scala/runtime/java8/JFunction0$mcI$sp
Runtime: Databricks workspace 5.5 LTS (i.e. Spark 2.4.3 + Scala 2.11)
Code:
import com.audienceproject.spark.dynamodb.implicits._
import org.apache.spark.internal.Logging
import org.apache.spark.sql.SparkSession
object DynamoClient extends Logging {
def test01() = {
val region = "us-west-2"
val tableName = "test_table"
val spark = SparkSession.builder().getOrCreate()
val dynamoDf = spark.read.option("region", region).dynamodb(tableName)
dynamoDf.show(1)
}
}
The text was updated successfully, but these errors were encountered: