ALTER EXTERNAL TABLE

Description

Changes the definition of an existing external table.

Click here to navigate to the Greenplum documentation page for this syntax.

Grammar Syntax

Greenplum provides the ability to create ALTER EXTERNAL TABLE with multiple actions, but Snowflake does not, that's why is translated to individual ALTER TABLES.

ALTER EXTERNAL TABLE <name> <action> [, ... ]

where action is one of:
  ADD [COLUMN] <new_column> <type>
  DROP [COLUMN] <column> [RESTRICT|CASCADE]
  ALTER [COLUMN] <column> TYPE <type>
  OWNER TO <new_owner>

Sample Source Patterns

Greenplum

Snowflake

  1. MSC-PG0000: User privileges must be handled manually.

  2. MSC-GP0001: External table translated to regular table.

Last updated

Was this helpful?