ALTER EXTERNAL TABLE

Description

Changes the definition of an existing external table.

Click herearrow-up-right to navigate to the Greenplum documentation page for this syntax.

circle-exclamation

Grammar Syntax

circle-info

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-PG0000arrow-up-right: User privileges must be handled manually.

  2. MSC-GP0001arrow-up-right: External table translated to regular table.

Last updated

Was this helpful?