maropu commented on a change in pull request #21334: [SPARK-24345][SQL]Improve
ParseError stop location when offending symbol is a token
URL: https://github.com/apache/spark/pull/21334#discussion_r270711827
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ErrorParserSuite.scala
##########
@@ -22,14 +22,17 @@ import org.apache.spark.SparkFunSuite
* Test various parser errors.
*/
class ErrorParserSuite extends SparkFunSuite {
- def intercept(sql: String, line: Int, startPosition: Int, messages:
String*): Unit = {
+ def intercept(sql: String, line: Int, startPosition: Int, stopPosition: Int,
+ messages: String*): Unit = {
Review comment:
nit:
```
def intercept(
sql: String,
line: Int,
startPosition: Int,
stopPosition: Int,
messages: String*): Unit = {
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]