You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2019/04/04 23:22:00 UTC

[jira] [Resolved] (SPARK-24345) Improve ParseError stop location when offending symbol is a token

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

Sean Owen resolved SPARK-24345.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 21334
[https://github.com/apache/spark/pull/21334]

> Improve ParseError stop location when offending symbol is a token
> -----------------------------------------------------------------
>
>                 Key: SPARK-24345
>                 URL: https://issues.apache.org/jira/browse/SPARK-24345
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Ruben Fiszel
>            Assignee: Ruben Fiszel
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> In the case where the offending symbol of a syntaxError is a CommonToken, this PR increases the accuracy of the start and stop origin by leveraging the start and stop index information from CommonToken in the syntax error listener.
> [Github PR|https://github.com/apache/spark/pull/21334]



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

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