You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2020/12/15 10:23:00 UTC

[jira] [Assigned] (HIVE-24538) Enforce strict type checks on all operators relying on comparisons

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

Stamatis Zampetakis reassigned HIVE-24538:
------------------------------------------


> Enforce strict type checks on all operators relying on comparisons
> ------------------------------------------------------------------
>
>                 Key: HIVE-24538
>                 URL: https://issues.apache.org/jira/browse/HIVE-24538
>             Project: Hive
>          Issue Type: Task
>          Components: HiveServer2
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>
> Strict type checks are enforced when {{hive.strict.checks.type.safety}} is enabled to prevent unexpected query results in some common cases where implicit type conversions take place.
> At the moment these checks are enforced in most comparison based operators (=,<,>,<=,>=,<>,<=>) but not all. For instance the checks are not active for BETWEEN and IN operators and possibly others. 
> The goal of this issue is to review {{FunctionRegistry#getCommonClassForComparison}} and make sure that operators relying on comparisons are covered (at a minimum BETWEEN, IN).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)