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

Apache Spark commented on SPARK-15397:
--------------------------------------

User 'adrian-wang' has created a pull request for this issue:
https://github.com/apache/spark/pull/13186

> [Spark][SQL] 'locate' UDF got different result with boundary value case 
> compared to Hive engine
> -----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-15397
>                 URL: https://issues.apache.org/jira/browse/SPARK-15397
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0, 1.6.1, 2.0.0
>            Reporter: Yi Zhou
>
> Spark SQL:
> select locate("abc", "abc", 1);
> 0
> Hive:
> select locate("abc", "abc", 1);
> 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to