<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [Databricks Connect] Cannot cross line reference when using lambda expression through db-connect in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-connect-cannot-cross-line-reference-when-using-lambda/m-p/24900#M17320</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;run below code line at spark-shell through db-connect&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1995i2F662E403691A7CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;It throw exception:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When use the code block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2011iBF7060AA619B24B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;It works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help with this?&lt;/P&gt;&lt;P&gt;&lt;I&gt;databricks-connect version:  &lt;/I&gt;"databricks-connect==7.3.*"&lt;/P&gt;&lt;P&gt;&lt;I&gt;runtime: "7.3LTS"&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 07:32:51 GMT</pubDate>
    <dc:creator>ayzm</dc:creator>
    <dc:date>2022-03-23T07:32:51Z</dc:date>
    <item>
      <title>[Databricks Connect] Cannot cross line reference when using lambda expression through db-connect</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-connect-cannot-cross-line-reference-when-using-lambda/m-p/24900#M17320</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;run below code line at spark-shell through db-connect&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1995i2F662E403691A7CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;It throw exception:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When use the code block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2011iBF7060AA619B24B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;It works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help with this?&lt;/P&gt;&lt;P&gt;&lt;I&gt;databricks-connect version:  &lt;/I&gt;"databricks-connect==7.3.*"&lt;/P&gt;&lt;P&gt;&lt;I&gt;runtime: "7.3LTS"&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 07:32:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-connect-cannot-cross-line-reference-when-using-lambda/m-p/24900#M17320</guid>
      <dc:creator>ayzm</dc:creator>
      <dc:date>2022-03-23T07:32:51Z</dc:date>
    </item>
  </channel>
</rss>

