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 10:39:00 UTC

[jira] [Updated] (IMPALA-12061) Throw Error for values other than 0, 1, true and false When PARQUET_BLOOM_FILTERING query option is used

     [ https://issues.apache.org/jira/browse/IMPALA-12061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prafful Agrawal updated IMPALA-12061:
-------------------------------------
    Description: 
Right now, 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:*+
_PARQUET_BLOOM_FILTERING_ 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.

  was:
Right now, 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:
PARQUET_BLOOM_FILTERING 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.


> Throw Error for values other than 0, 1, true and false When PARQUET_BLOOM_FILTERING 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, 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:*+
> _PARQUET_BLOOM_FILTERING_ 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