You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/06/11 19:14:00 UTC

[jira] [Resolved] (IMPALA-1373) Snappy writer includes extra bytes at end

     [ https://issues.apache.org/jira/browse/IMPALA-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong resolved IMPALA-1373.
-----------------------------------
    Resolution: Cannot Reproduce

> Snappy writer includes extra bytes at end
> -----------------------------------------
>
>                 Key: IMPALA-1373
>                 URL: https://issues.apache.org/jira/browse/IMPALA-1373
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.0
>            Reporter: John Russell
>            Priority: Minor
>
> Marking as minor because file writer functionality not part of the 2.0 release.
> Discussed with Ippo, he has a fix ready to go.
> If Impala writes a .snappy file, some extra bytes might get included by mistake:
> {code}
> [localhost:21000] > set compression_codec=snappy;
> [localhost:21000] > set allow_unsupported_formats=1;
> [localhost:21000] > insert into csv_compressed values
> ('one - snappy','two - snappy','three - snappy');
> [localhost:21000] > select * from csv_compressed;
> +--------------------+--------------------+----------------------+
> | a                  | b                  | c                    |
> +--------------------+--------------------+----------------------+
> | one - snappy       | two - snappy       | three - snappy       |
> | s0��            | NULL               |                      |
> | one - uncompressed | two - uncompressed | three - uncompressed |
> | abc - uncompressed | xyz - uncompressed | 123 - uncompressed   |
> | one - bz2          | two - bz2          | three - bz2          |
> | abc - bz2          | xyz - bz2          | 123 - bz2            |
> | one - gzip         | two - gzip         | three - gzip         |
> | abc - gzip         | xyz - gzip         | 123 - gzip           |
> +--------------------+--------------------+----------------------+
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org