cloud-fan commented on code in PR #37209: URL: https://github.com/apache/spark/pull/37209#discussion_r926406759
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala: ########## @@ -52,6 +53,15 @@ import org.apache.spark.util.collection.BitSet /** Used by [[TreeNode.getNodeNumbered]] when traversing the tree for a given number */ private class MutableInt(var i: Int) +/** The class represents error context of a SQL query. */ +case class SqlQueryContext( + override val objectType: String, + override val objectName: String, + override val startIndex: Int, + override val stopIndex: Int, + override val fragment: String, + override val summary: String) extends QueryContext Review Comment: I think `QueryContext` should not have `summary` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
