[
https://issues.apache.org/jira/browse/IMPALA-11537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Rozsa resolved IMPALA-11537.
----------------------------------
Resolution: Done
> 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
> Assignee: Peter Rozsa
> Priority: Minor
> Labels: newbie, ramp-up
>
> 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.
> The atoi() function may not be able to parse the input, so either the query
> gets executed using the default value for the given Query Option, without
> informing the user about it, or it can even cause undefined behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)