[Databricks Connect] Cannot cross line reference when using lambda expression through db-connect
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2022 12:32 AM
Hi
run below code line at spark-shell through db-connect
It throw exception:
java.lang.ClassCastException: cannot assign instance of java.lang.invoke.SerializedLambda to field org.apache.spark.rdd.MapPartitionsRDD.f of type scala.Function3 in instance of org.apache.spark.rdd.MapPartitionsRDD
When use the code block:
It works well.
Can you help with this?
databricks-connect version: "databricks-connect==7.3.*"
runtime: "7.3LTS"
Labels:
- Labels:
-
Code Block
-
Databricks connect
-
Lambda
0 REPLIES 0

