mirror of
https://github.com/apache/impala.git
synced 2026-02-02 15:00:38 -05:00
This change adds a more generic approach to validate numeric query options and report parse and validation errors. Supported types: integers, floats, memory specifications. Range and bound validator helper functions are added to make validation unified on call sites. Testing: - Error messages got more generic, therefore the existing tests around query options are aligned to match them Change-Id: Ia7757b52393c094d2c661918d73cbfad7214f855 Reviewed-on: http://gerrit.cloudera.org:8080/19096 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>