Fredy Wijaya created IMPALA-8271: ------------------------------------ Summary: Refactor query-options Key: IMPALA-8271 URL: https://issues.apache.org/jira/browse/IMPALA-8271 Project: IMPALA Issue Type: Improvement Components: Backend Reporter: Fredy Wijaya
Currently the logic for handling Thrift enums in query-options is very error-prone. A change in Thrift enums require updating query-options.cc. For example: https://github.com/apache/impala/blob/master/be/src/service/query-options.cc#L276-L288. This CR: https://gerrit.cloudera.org/c/12635/ is an attempt to fix such issue for compression_codec. This ticket aims to update the use of Thrift enums with the style similar to: https://gerrit.cloudera.org/c/12635/ to make it less error-prone. -- This message was sent by Atlassian JIRA (v7.6.3#76005)