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

Stamatis Zampetakis commented on HIVE-24538:
--------------------------------------------

After the resolution of HIVE-24534 and HIVE-24538, HIVE-13958 can be closed.

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

Reply via email to