Noemi Pap-Takacs created IMPALA-11537:
-----------------------------------------

             Summary: Some Query Options are not validated
                 Key: IMPALA-11537
                 URL: https://issues.apache.org/jira/browse/IMPALA-11537
             Project: IMPALA
          Issue Type: Bug
            Reporter: Noemi Pap-Takacs


Query Options can be set in the Impala shell, but they are not validated 
immediately.
Most Query Options require integer values. The input is parsed in 
be/src/service/query-options.cc. There are many different solutions how these 
integers are parsed. Some older implementations use atoi(), the newer ones 
mostly use StringParser.

The older Query Options that use atoi() does not validate the input value, 
which atoi() may not parse, so the query gets executed using the default value 
for the given Query Option, without informing the user about it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to