[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-25 Thread Oron Navon (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663730#comment-16663730 ] Oron Navon commented on SPARK-25807: OK, thanks in any case - I'm closing the issue. > Mitigate

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-25 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663648#comment-16663648 ] Sean Owen commented on SPARK-25807: --- The language here is SQL(-like) here though, not Python or Java.

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-25 Thread Hyukjin Kwon (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663560#comment-16663560 ] Hyukjin Kwon commented on SPARK-25807: -- I think it's not an issue if that's clearly documented. >

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-25 Thread Oron Navon (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663378#comment-16663378 ] Oron Navon commented on SPARK-25807: Thanks guys. [~srowen], fair enough about matching Hive/SQL

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-25 Thread kevin yu (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16663332#comment-16663332 ] kevin yu commented on SPARK-25807: -- [~oron.navon]: You can also try to implement a simply python UDF to

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-24 Thread kevin yu (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16662830#comment-16662830 ] kevin yu commented on SPARK-25807: -- Thanks Sean, ok, I will leave as it is.  > Mitigate 1-based

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-24 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16662817#comment-16662817 ] Sean Owen commented on SPARK-25807: --- They are meant to match Hive, SQL. They should not match Java,

[jira] [Commented] (SPARK-25807) Mitigate 1-based substr() confusion

2018-10-23 Thread kevin yu (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-25807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16661324#comment-16661324 ] kevin yu commented on SPARK-25807: -- I am looking into option 1, option 3 causes to change behavior,