<?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 In SAS Viya 3.5, how to export a table to Parquet with SNAPPY compression? in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/In-SAS-Viya-3-5-how-to-export-a-table-to-Parquet-with-SNAPPY/m-p/895099#M2022</link>
    <description>&lt;P&gt;Hi experts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have SAS Viya 3.5 and I need to export a table to parquet. Using CAS, I'm able to export the table to uncompressed Parquet files. However, we need these Parquet files to be compressed using SNAPPY. This is my current script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;
	* Load table to CAS;
	index /
		table={caslib="data" name="scored_202302.sas7bdat" singlepass=true}
		casout={caslib="data" name="scored_202302" blockSize=536870912 compress=true replication=0};
run;
	* Export as .parquet;
	table.save /
		table={caslib="data" name="scored_202302"}
		caslib="parquet" name="scored_202302.parquet" replace=true
		exportOptions={fileType='parquet'};
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is there a way to generate achieve a parquet with SNAPPY compression?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Javier&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 17:24:39 GMT</pubDate>
    <dc:creator>a20121248</dc:creator>
    <dc:date>2023-09-20T17:24:39Z</dc:date>
    <item>
      <title>In SAS Viya 3.5, how to export a table to Parquet with SNAPPY compression?</title>
      <link>https://communities.sas.com/t5/SAS-Viya/In-SAS-Viya-3-5-how-to-export-a-table-to-Parquet-with-SNAPPY/m-p/895099#M2022</link>
      <description>&lt;P&gt;Hi experts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have SAS Viya 3.5 and I need to export a table to parquet. Using CAS, I'm able to export the table to uncompressed Parquet files. However, we need these Parquet files to be compressed using SNAPPY. This is my current script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;
	* Load table to CAS;
	index /
		table={caslib="data" name="scored_202302.sas7bdat" singlepass=true}
		casout={caslib="data" name="scored_202302" blockSize=536870912 compress=true replication=0};
run;
	* Export as .parquet;
	table.save /
		table={caslib="data" name="scored_202302"}
		caslib="parquet" name="scored_202302.parquet" replace=true
		exportOptions={fileType='parquet'};
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is there a way to generate achieve a parquet with SNAPPY compression?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Javier&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 17:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/In-SAS-Viya-3-5-how-to-export-a-table-to-Parquet-with-SNAPPY/m-p/895099#M2022</guid>
      <dc:creator>a20121248</dc:creator>
      <dc:date>2023-09-20T17:24:39Z</dc:date>
    </item>
  </channel>
</rss>

