-
- Downloads
[SPARK-17084][SQL] Rename ParserUtils.assert to validate
## What changes were proposed in this pull request? This PR renames `ParserUtils.assert` to `ParserUtils.validate`. This is done because this method is used to check requirements, and not to check if the program is in an invalid state. ## How was this patch tested? Simple rename. Compilation should do. Author: Herman van Hovell <hvanhovell@databricks.com> Closes #14665 from hvanhovell/SPARK-17084.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala 7 additions, 7 deletions...ala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/ParserUtils.scala 2 additions, 2 deletions...la/org/apache/spark/sql/catalyst/parser/ParserUtils.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala 2 additions, 3 deletions...scala/org/apache/spark/sql/execution/SparkSqlParser.scala
Loading
Please register or sign in to comment