hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2810) Implement NULL-safe equality operator <=>
Date Wed, 22 Feb 2012 07:10:50 GMT

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

Phabricator commented on HIVE-2810:
-----------------------------------

cwsteinbach has commented on the revision "HIVE-2810 [jira] Implement NULL-safe equality operator
<=>".

  Yup, exactly. I tried running the query from HIVE-741:
  https://issues.apache.org/jira/browse/HIVE-741?focusedCommentId=12896789&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12896789


  This works:
  select * from input1 a join input1 b on a.key=b.value;

  But I get the following error when I try to run this:

  select * from input1 a join input1 b on a.key <=> b.value;
  FAILED: Error in semantic analysis: Line 1:40 Both left and right aliases encountered in
JOIN 'value'

  Looks like this may be a parsing issue?

  HIVE-741 added a join_nulls.q test to clientpositive. I think it would be a good idea to
augment this testcase with null-safe equality queries.

REVISION DETAIL
  https://reviews.facebook.net/D1791

BRANCH
  DPAL-843

                
> Implement NULL-safe equality operator <=>
> -----------------------------------------
>
>                 Key: HIVE-2810
>                 URL: https://issues.apache.org/jira/browse/HIVE-2810
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor, UDF
>    Affects Versions: 0.9.0
>            Reporter: Carl Steinbach
>            Assignee: Navis
>             Fix For: 0.9.0
>
>         Attachments: HIVE-2810.D1791.1.patch
>
>
> Ref: http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_equal-to

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message