<?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 How can i read parquet file compressed by snappy? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-i-read-parquet-file-compressed-by-snappy/m-p/29538#M21261</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I wanted to read parqet file compressed by snappy into Spark RDD&lt;/P&gt;
&lt;P&gt;input file name is: part-m-00000.snappy.parquet&lt;/P&gt;
&lt;P&gt;i have used sqlContext.setConf("spark.sql.parquet.compression.codec.", "snappy")&lt;/P&gt;
&lt;P&gt;val inputRDD=sqlContext.parqetFile(args(0))&lt;/P&gt;
&lt;P&gt;whenever im trying to run im facing java.lang.IlligelArgumentException : Illegel character in opaque part at index 2 &lt;/P&gt;
&lt;P&gt;i tried renaming the input file like input_data_snappy.parquet,then also im getting same exception.&lt;/P&gt;
&lt;P&gt;please help me for this&lt;/P&gt;
&lt;P&gt;Thanks for advance.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2016 14:39:41 GMT</pubDate>
    <dc:creator>Mallesh</dc:creator>
    <dc:date>2016-08-03T14:39:41Z</dc:date>
    <item>
      <title>How can i read parquet file compressed by snappy?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-read-parquet-file-compressed-by-snappy/m-p/29538#M21261</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I wanted to read parqet file compressed by snappy into Spark RDD&lt;/P&gt;
&lt;P&gt;input file name is: part-m-00000.snappy.parquet&lt;/P&gt;
&lt;P&gt;i have used sqlContext.setConf("spark.sql.parquet.compression.codec.", "snappy")&lt;/P&gt;
&lt;P&gt;val inputRDD=sqlContext.parqetFile(args(0))&lt;/P&gt;
&lt;P&gt;whenever im trying to run im facing java.lang.IlligelArgumentException : Illegel character in opaque part at index 2 &lt;/P&gt;
&lt;P&gt;i tried renaming the input file like input_data_snappy.parquet,then also im getting same exception.&lt;/P&gt;
&lt;P&gt;please help me for this&lt;/P&gt;
&lt;P&gt;Thanks for advance.&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 14:39:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-read-parquet-file-compressed-by-snappy/m-p/29538#M21261</guid>
      <dc:creator>Mallesh</dc:creator>
      <dc:date>2016-08-03T14:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i read parquet file compressed by snappy?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-read-parquet-file-compressed-by-snappy/m-p/29539#M21262</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Have you tried sqlContext.read.parquet("/filePath/") ?&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 17:31:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-read-parquet-file-compressed-by-snappy/m-p/29539#M21262</guid>
      <dc:creator>raela</dc:creator>
      <dc:date>2016-08-05T17:31:51Z</dc:date>
    </item>
  </channel>
</rss>

