[
https://issues.apache.org/jira/browse/IMPALA-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785010#comment-16785010
]
ASF subversion and git services commented on IMPALA-8254:
---------------------------------------------------------
Commit 2e99659e05ec3f0cc81f12c0ab913aac3abe1720 in impala's branch
refs/heads/master from Fredy Wijaya
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2e99659 ]
IMPALA-8254: Fix error when running compute stats with compression_codec set
This patch fixes an error when running compute stats with
compression_codec set. This patch also updates missing compression
codecs from the compression_codec query option.
Testing:
- Updated BE query-options-test
- Added test_compute.stats.py
- Ran all tests in test_compute.stats.py
- Ran all tests in test_set.py
Change-Id: I2cb546fbd3d2a02e0ed30d85a33a04852bed9dd2
Reviewed-on: http://gerrit.cloudera.org:8080/12635
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> 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
> Assignee: Fredy Wijaya
> Priority: Minor
> Labels: ramp-up
> Fix For: Impala 3.2.0
>
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]