[jira] [Assigned] (SPARK-24872) Remove the symbol “||” of the “OR” operation

2019-04-10 Thread Wenchen Fan (JIRA)


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

Wenchen Fan reassigned SPARK-24872:
---

Assignee: hantiantian

> Remove the symbol “||” of the “OR” operation
> 
>
> Key: SPARK-24872
> URL: https://issues.apache.org/jira/browse/SPARK-24872
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 2.4.0
>Reporter: hantiantian
>Assignee: hantiantian
>Priority: Minor
>
> “||” will perform the function of STRING concat, and it is also the symbol of 
> the "OR" operation.
> When I want use "||" as "OR" operation, I find that it perform the function 
> of STRING concat,
>   spark-sql> explain extended select * from aa where id==1 || id==2;
>    == Parsed Logical Plan ==
>     'Project [*]
>      +- 'Filter (('id = concat(1, 'id)) = 2)
>       +- 'UnresolvedRelation `aa`
>    spark-sql> select "abc" || "DFF" ;
>    And the result is "abcDFF".
> In predicates.scala, "||" is the symbol of "Or" operation. Could we remove it?
>  



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

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-24872) Remove the symbol “||” of the “OR” operation

2018-07-20 Thread Apache Spark (JIRA)


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

Apache Spark reassigned SPARK-24872:


Assignee: (was: Apache Spark)

> Remove the symbol “||” of the “OR” operation
> 
>
> Key: SPARK-24872
> URL: https://issues.apache.org/jira/browse/SPARK-24872
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 2.4.0
>Reporter: hantiantian
>Priority: Minor
>
> “||” will perform the function of STRING concat, and it is also the symbol of 
> the "OR" operation.
> When I want use "||" as "OR" operation, I find that it perform the function 
> of STRING concat,
>   spark-sql> explain extended select * from aa where id==1 || id==2;
>    == Parsed Logical Plan ==
>     'Project [*]
>      +- 'Filter (('id = concat(1, 'id)) = 2)
>       +- 'UnresolvedRelation `aa`
>    spark-sql> select "abc" || "DFF" ;
>    And the result is "abcDFF".
> In predicates.scala, "||" is the symbol of "Or" operation. Could we remove it?
>  



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

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-24872) Remove the symbol “||” of the “OR” operation

2018-07-20 Thread Apache Spark (JIRA)


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

Apache Spark reassigned SPARK-24872:


Assignee: Apache Spark

> Remove the symbol “||” of the “OR” operation
> 
>
> Key: SPARK-24872
> URL: https://issues.apache.org/jira/browse/SPARK-24872
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 2.4.0
>Reporter: hantiantian
>Assignee: Apache Spark
>Priority: Minor
>
> “||” will perform the function of STRING concat, and it is also the symbol of 
> the "OR" operation.
> When I want use "||" as "OR" operation, I find that it perform the function 
> of STRING concat,
>   spark-sql> explain extended select * from aa where id==1 || id==2;
>    == Parsed Logical Plan ==
>     'Project [*]
>      +- 'Filter (('id = concat(1, 'id)) = 2)
>       +- 'UnresolvedRelation `aa`
>    spark-sql> select "abc" || "DFF" ;
>    And the result is "abcDFF".
> In predicates.scala, "||" is the symbol of "Or" operation. Could we remove it?
>  



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

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org