Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/12220#discussion_r59082635
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
@@ -333,23 +367,32 @@ case class AlterTableExchangePartition(
* unless 'purge' is true, but the metadata is completely lost.
* An error message will be issued if the partition does not exist, unless
'ifExists' is true.
* Note: purge is always false when the target is a view.
+ *
+ * The syntax of this command is:
+ * {{{
+ * ALTER TABLE table DROP [IF EXISTS] PARTITION spec1[, PARTITION spec2,
...] [PURGE];
+ * ALTER VIEW view DROP [IF EXISTS] PARTITION spec1[, PARTITION spec2,
...];
--- End diff --
I think we do not support `ALTER VIEW view DROP [IF EXISTS] PARTITION
spec1[, PARTITION spec2, ...];` because the semantic of having partitions
defined with a view is not defined?
---
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]