-
- Downloads
[SPARK-15199][SQL] Disallow Dropping Build-in Functions
#### What changes were proposed in this pull request? As Hive and the major RDBMS behave, the built-in functions are not allowed to drop. In the current implementation, users can drop the built-in functions. However, after dropping the built-in functions, users are unable to add them back. #### How was this patch tested? Added a test case. Author: gatorsmile <gatorsmile@gmail.com> Closes #12975 from gatorsmile/dropBuildInFunction.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/command/functions.scala 4 additions, 1 deletion...la/org/apache/spark/sql/execution/command/functions.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala 22 additions, 0 deletions...ala/org/apache/spark/sql/execution/command/DDLSuite.scala
Loading
Please register or sign in to comment