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

Hyukjin Kwon updated SPARK-17322:
---------------------------------
    Labels: bulk-closed  (was: )

> 'ANY n' clause for SQL queries to increase the ease of use of WHERE clause 
> predicates
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-17322
>                 URL: https://issues.apache.org/jira/browse/SPARK-17322
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Suman Somasundar
>            Priority: Minor
>              Labels: bulk-closed
>
> If the user is interested in getting the results that meet 'any n' criteria 
> out of m where clause predicates (m > n), then the 'any n' clause greatly 
> simplifies writing a SQL query.
> An example is given below:
> select symbol from stocks where (market_cap > 5.7b, analysts_recommend > 10, 
> moving_avg > 49.2, pe_ratio >15.4) ANY 3



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to