Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10905#discussion_r51052354
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/ASTNode.scala 
---
    @@ -55,10 +55,16 @@ case class ASTNode(
       }
     
       /** Origin of the ASTNode. */
    -  override val origin = Origin(Some(line), Some(positionInLine))
    +  override val origin: Origin = Origin(Some(line), Some(positionInLine))
     
       /** Source text. */
    -  lazy val source = stream.toString(startIndex, stopIndex)
    +  lazy val source: String = stream.toString(startIndex, stopIndex)
    +
    +  /** Get the source text that remains after this token. */
    --- End diff --
    
    would be great to briefly mention what this is used for (set?)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to