gatorsmile commented on a change in pull request #21826: [SPARK-24872] Replace 
the symbol '||' of Or operator with 'or'
URL: https://github.com/apache/spark/pull/21826#discussion_r244672255
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala
 ##########
 @@ -442,7 +442,7 @@ case class Or(left: Expression, right: Expression) extends 
BinaryOperator with P
 
   override def inputType: AbstractDataType = BooleanType
 
-  override def symbol: String = "||"
+  override def symbol: String = "or"
 
 Review comment:
   So far, yes. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to