<?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 NPE on CreateJacksonParser and Databricks 14.3LTS with Spark StructuredStreaming in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/npe-on-createjacksonparser-and-databricks-14-3lts-with-spark/m-p/62562#M32001</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have a spark StructuredStreaming job : the source is a kafka topic in json.&lt;/P&gt;&lt;P&gt;it work find with databricks 14.2, but when a change to 14.3LTS, I have a NPE in&amp;nbsp;CreateJacksonParser:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: NullPointerException: 
	at org.apache.spark.sql.catalyst.json.CreateJacksonParser$.internalRow(CreateJacksonParser.scala:93)&lt;/LI-CODE&gt;&lt;P&gt;Do you have any idea what this error is?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 09:40:42 GMT</pubDate>
    <dc:creator>joss</dc:creator>
    <dc:date>2024-03-04T09:40:42Z</dc:date>
    <item>
      <title>NPE on CreateJacksonParser and Databricks 14.3LTS with Spark StructuredStreaming</title>
      <link>https://community.databricks.com/t5/data-engineering/npe-on-createjacksonparser-and-databricks-14-3lts-with-spark/m-p/62562#M32001</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have a spark StructuredStreaming job : the source is a kafka topic in json.&lt;/P&gt;&lt;P&gt;it work find with databricks 14.2, but when a change to 14.3LTS, I have a NPE in&amp;nbsp;CreateJacksonParser:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: NullPointerException: 
	at org.apache.spark.sql.catalyst.json.CreateJacksonParser$.internalRow(CreateJacksonParser.scala:93)&lt;/LI-CODE&gt;&lt;P&gt;Do you have any idea what this error is?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 09:40:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/npe-on-createjacksonparser-and-databricks-14-3lts-with-spark/m-p/62562#M32001</guid>
      <dc:creator>joss</dc:creator>
      <dc:date>2024-03-04T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: NPE on CreateJacksonParser and Databricks 14.3LTS with Spark StructuredStreaming</title>
      <link>https://community.databricks.com/t5/data-engineering/npe-on-createjacksonparser-and-databricks-14-3lts-with-spark/m-p/62628#M32017</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;thank you for your quick reply,&lt;/P&gt;&lt;P&gt;i found the problem :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; val newSchema = spark.read.json(df.select("data").as[String]).schema&lt;/LI-CODE&gt;&lt;P&gt;if "data" have 1 value to null, in 14.2&amp;nbsp; it work, but with 14.3LTS this function return a NPE&lt;/P&gt;&lt;P&gt;I don't&amp;nbsp;know if it is a bug&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 09:07:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/npe-on-createjacksonparser-and-databricks-14-3lts-with-spark/m-p/62628#M32017</guid>
      <dc:creator>joss</dc:creator>
      <dc:date>2024-03-05T09:07:50Z</dc:date>
    </item>
  </channel>
</rss>

