<?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: spark exception error while reading a parquet file in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21907#M14972</link>
    <description>&lt;P&gt;Hi @shamly pt​&amp;nbsp;, Could you please post the full error stack here? &lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 07:01:47 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-11-18T07:01:47Z</dc:date>
    <item>
      <title>spark exception error while reading a parquet file</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21906#M14971</link>
      <description>&lt;P&gt;when I try to read parquet file from Azure datalake container from databricks, I am getting spark exception. Below is my query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import pyarrow.parquet as pq&lt;/P&gt;&lt;P&gt;from pyspark.sql.functions import *&lt;/P&gt;&lt;P&gt;from datetime import datetime&lt;/P&gt;&lt;P&gt;data = spark.read.parquet(f"/mnt/data/country/abb/countrydata.parquet")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 14.0 failed 4 times, most recent failure: Lost task 0.3 in stage 14.0 (TID 35) (10.135.39.71 executor 0): org.apache.spark.SparkException: Exception thrown in awaitResult:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does this mean? What I need to do for this?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 19:35:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21906#M14971</guid>
      <dc:creator>shamly</dc:creator>
      <dc:date>2022-11-17T19:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: spark exception error while reading a parquet file</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21908#M14973</link>
      <description>&lt;P&gt;Hi @shamly pt​&amp;nbsp;, more info are needed to solve the issue. However common problems are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The storage is not mount&lt;/LI&gt;&lt;LI&gt;That file doesn't exists in the mounted storage&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also, there is no need to use an f-string if there are no curly brackets with expressions in the string, so you can remove the f in `f"/mnt/data/country/abb/countrydata.parquet"`&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 11:28:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21908#M14973</guid>
      <dc:creator>DavideAnghileri</dc:creator>
      <dc:date>2022-11-19T11:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: spark exception error while reading a parquet file</title>
      <link>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21907#M14972</link>
      <description>&lt;P&gt;Hi @shamly pt​&amp;nbsp;, Could you please post the full error stack here? &lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 07:01:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/spark-exception-error-while-reading-a-parquet-file/m-p/21907#M14972</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-18T07:01:47Z</dc:date>
    </item>
  </channel>
</rss>

