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 "Prafful Agrawal (Jira)" <ji...@apache.org> on 2023/04/14 15:02:00 UTC

[jira] [Commented] (IMPALA-12061) Throw Error for values other than 0, 1, true and false when a Boolean Query Option is used

    [ https://issues.apache.org/jira/browse/IMPALA-12061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712432#comment-17712432 ] 

Prafful Agrawal commented on IMPALA-12061:
------------------------------------------

Yes I missed to edit that. Corrected it now.

Thanks.

> Throw Error for values other than 0, 1, true and false when a Boolean Query Option is used
> ------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-12061
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12061
>             Project: IMPALA
>          Issue Type: Task
>          Components: Backend
>    Affects Versions: Impala 4.0.0
>            Reporter: Prafful Agrawal
>            Priority: Major
>
> Right now, for most of the boolean query options, we can provide any number or character and if the value is other than 1 and true, it is being considered as 'false'. 
> For Example, when we use PARQUET_BLOOM_FILTERING query option, we can provide any number or character and if the value is other than 1 and true, it is being considered as 'false'. This creates confusion as a user might give 
> *PARQUET_BLOOM_FILTERING=t*
> or
> *PARQUET_BLOOM_FILTERING=12* _(any random values)_
> Then it will be considered as PARQUET_BLOOM_FILTERING=false. 
> User might use some value like 't' for 'true' but it would still be considered as 'false'.
> +*Requirement:*+
> _Boolean query options_ should only take either of these values:
> 1 (binary for true)
> 0 (binary for false)
> true and false.
> Other than these 4 values, it should throw an error.



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