You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2021/11/10 14:21:00 UTC

[jira] [Created] (ARROW-14661) [C++] Snappy 1.1.9 fails on GCC < 4.9

Jonathan Keane created ARROW-14661:
--------------------------------------

             Summary: [C++] Snappy 1.1.9 fails on GCC < 4.9
                 Key: ARROW-14661
                 URL: https://issues.apache.org/jira/browse/ARROW-14661
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Jonathan Keane


When used with GCC < 4.9, the error:

{code:r}
> tf <- tempfile()
  > on.exit(unlink(tf))
  > write_parquet(mtcars, tf)
  > df <- read_parquet(tf, col_select = starts_with("d"))
  Error: IOError: Corrupt snappy compressed data.
{code}

Even though the compressed data is just fine and can be read by other versions of Arrow/snappy so long as they are not GCC < 4.9

[~apitrou] suggested this is possible a compiler bug manifesting. 

Note: Snappy 1.1.8 [has a sanitizer error|https://github.com/google/snappy/commit/041c608086d00ceb8285b91f034cfa8b84c83d7c], so enabling and using that by default + sending to  CRAN would be problematic



--
This message was sent by Atlassian Jira
(v8.20.1#820001)