Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/13831#discussion_r70115433
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
@@ -179,7 +179,8 @@ case class DescribeDatabaseCommand(
case class DropTableCommand(
tableName: TableIdentifier,
ifExists: Boolean,
- isView: Boolean) extends RunnableCommand {
+ isView: Boolean,
+ purge: Boolean) extends RunnableCommand {
--- End diff --
I'm not personally against the assert but I can't find anywhere else where
the code is asserting something the parser already checks. So I'll pass on this
unless someone that plays with this code more says it's ok.
---
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]