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)

Reply via email to