<?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 Re: Unable to infer schema for Parquet at in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-infer-schema-for-parquet-at/m-p/27316#M19193</link>
    <description>&lt;P&gt;seems like an invalid parquet file.  my guess is the incoming data has mixed types (for the same column) or a different/invalid structure.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 06:30:19 GMT</pubDate>
    <dc:creator>-werners-</dc:creator>
    <dc:date>2021-09-06T06:30:19Z</dc:date>
    <item>
      <title>Unable to infer schema for Parquet at</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-infer-schema-for-parquet-at/m-p/27314#M19191</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt; I have this code in a notebook:&lt;/P&gt;val streamingDataFrame = incomingStream.selectExpr("cast (body as string) AS Content") .withColumn("Sentiment", toSentiment($"Content"))
&lt;P&gt;&lt;/P&gt; 
&lt;P&gt;import org.apache.spark.sql.streaming.Trigger.ProcessingTime val result = streamingDataFrame .writeStream.format("parquet") .option("path", "/mnt/TwitterSentiment") .option("checkpointLocation", "/mnt/temp/check") .start() &amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;...and it always results in this error. Am stumped, any advice?&amp;lt;/p&amp;gt;&amp;lt;pre&amp;gt;org.apache.spark.sql.AnalysisException: Unable to infer schema for Parquet at . It must be specified manually;&amp;lt;br&amp;gt; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 18:43:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-infer-schema-for-parquet-at/m-p/27314#M19191</guid>
      <dc:creator>bciampa</dc:creator>
      <dc:date>2020-01-29T18:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to infer schema for Parquet at</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-infer-schema-for-parquet-at/m-p/27316#M19193</link>
      <description>&lt;P&gt;seems like an invalid parquet file.  my guess is the incoming data has mixed types (for the same column) or a different/invalid structure.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 06:30:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-infer-schema-for-parquet-at/m-p/27316#M19193</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2021-09-06T06:30:19Z</dc:date>
    </item>
  </channel>
</rss>

