Modifying the SerDe Attribute of a Table Partition (Only OBS Tables Supported)
Function
This statement is used to modify the SerDe properties of tables or partitions.
Syntax
ALTER TABLE table_name [PARTITION partition_specs] SET SERDE serde [WITH SERDEPROPERTIES (property_name=property_value,...)];
ALTER TABLE table_name [PARTITION partition_specs] SET SERDEPROPERTIES (property_name=property_value,...);
Keyword
None
Precautions
- If the SerDe property already exists, a new property will replace the original one.
- The SerDe property configuration is applicable to the OBS table only.
Example
alter table test set serdeproperties (creator = "test");
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.