-
- Downloads
[SQL][MINOR] ParserUtils.operationNotAllowed should throw exception directly
## What changes were proposed in this pull request? It's weird that `ParserUtils.operationNotAllowed` returns an exception and the caller throw it. ## How was this patch tested? N/A Author: Wenchen Fan <wenchen@databricks.com> Closes #13874 from cloud-fan/style.
Showing
- 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 31 additions, 31 deletions...scala/org/apache/spark/sql/execution/SparkSqlParser.scala
Loading
Please register or sign in to comment