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

Adam Kramer commented on HIVE-801:
----------------------------------

Also note that the true utility of this is syntax like
WHERE a.foo IN (b.*)

...for instances where b has many many columns and it is messy to articulate 
them. I'm thinking about a current table I have with 800 columns...is there a 
limit on the character-wise length of a query?

> row-wise IN would be useful
> ---------------------------
>
>                 Key: HIVE-801
>                 URL: https://issues.apache.org/jira/browse/HIVE-801
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Adam Kramer
>
> SELECT * FROM tablename t
> WHERE IN(12345,key1,key2,key3);
> ...IN would operate on a given row, and return True when the first argument 
> equaled at least one of the other arguments. So here IN would return true if 
> 12345=key1 OR 12345=key2 OR 12345=key3 (but wouldn't test the latter two if 
> the first matched).
> This would also help with https://issues.apache.org/jira/browse/HIVE-783, if 
> IN were implemented in a manner that allows it to be used in an ON clause.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to