You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Csaba Ringhofer (JIRA)" <ji...@apache.org> on 2019/02/27 17:51:00 UTC

[jira] [Created] (IMPALA-8254) Compute stats fails if COMPRESSION_CODEC is not default

Csaba Ringhofer created IMPALA-8254:
---------------------------------------

             Summary: Compute stats fails if COMPRESSION_CODEC is not default
                 Key: IMPALA-8254
                 URL: https://issues.apache.org/jira/browse/IMPALA-8254
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Csaba Ringhofer


To reproduce:
set compression_codec=gzip;
>COMPRESSION_CODEC set to gzip
compute stats functional.alltypes;
>Query: compute stats functional.alltypes
>ERROR: Invalid compression codec: 2

This kind of issue is typical with query options and compute stats - compute stats converts enums to their number representation, which is handled by most query options, see https://github.com/apache/impala/blob/adced30896ade0f71e64cc2d5bad1cd9f43119b7/be/src/service/query-options.cc#L532 for an example.



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