You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/09/14 15:43:00 UTC
[jira] [Commented] (ARROW-9995) [R] Snappy Codec Support not built
[ https://issues.apache.org/jira/browse/ARROW-9995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195541#comment-17195541 ]
Neal Richardson commented on ARROW-9995:
----------------------------------------
{{read_parquet()}} doesn't ask you about compression--it detects what compression is used in the file. So it sounds like you're trying to read a snappy-compressed file and thus need a build with snappy enabled.
To get that, since you already have arrow you could call `arrow::install_arrow()` and it should just work, installing a more complete version. Or you could set {{LIBARROW_MINIMAL=FALSE}} and reinstall by the usual ways. See https://arrow.apache.org/docs/r/articles/install.html for more.
> [R] Snappy Codec Support not built
> ----------------------------------
>
> Key: ARROW-9995
> URL: https://issues.apache.org/jira/browse/ARROW-9995
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, R
> Affects Versions: 1.0.0, 1.0.1
> Reporter: Joska Lako
> Priority: Major
> Labels: Snappy
> Attachments: ErrorScreenshot.PNG
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am reading my file on a Linux based server which has no Snappy compression. Even though I call the function to do uncompressed compression. I still get an error Snappy codec support not built. How do I overcome this error and read a parquet file without snappy codec on linux?
> read_parquet(file,as_data_frame=TRUE,compression='UNCOMPRESSED')
> Error in parquet___arrow___FileReader__ReadTable1(self) : IOError: NotImplemented: Snappy codec support not built
--
This message was sent by Atlassian Jira
(v8.3.4#803005)