You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Peter Rozsa (Jira)" <ji...@apache.org> on 2022/11/15 09:36:00 UTC

[jira] [Resolved] (IMPALA-11537) Some Query Options are not validated

     [ 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org