You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Noemi Pap-Takacs (Jira)" <ji...@apache.org> on 2022/08/26 17:49:00 UTC
[jira] [Created] (IMPALA-11537) Some Query Options are not validated
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)