[
https://issues.apache.org/jira/browse/SPARK-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Davidson resolved SPARK-6729.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
> DriverQuirks get can get OutOfBounds exception is some cases
> ------------------------------------------------------------
>
> Key: SPARK-6729
> URL: https://issues.apache.org/jira/browse/SPARK-6729
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Volodymyr Lyubinets
> Assignee: Volodymyr Lyubinets
> Priority: Minor
> Fix For: 1.4.0
>
>
> The function uses .substring(0, X), which will trigger OutOfBoundsException
> if string length is less than X. A better way to do this is to use
> startsWith, which won't error out in this case. I'll propose a patch shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]