-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

odps table


> Create and modify tables in ODPS (Open Data Processing Service).

> See also `odps`.

More information.


Create a table with partition and lifecycle:

create table {table_name} ({col} {type}) partitioned by ({col} {type}) lifecycle {days};

Create a table based on the definition of another table:

create table {table_name} like {another_table};

Add partition to a table:

alter table {table_name} add partition ({partition_spec});

Delete partition from a table:

alter table {table_name} drop partition ({partition_spec});

Delete table:

drop table {table_name};


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Mon May 20 23:30:13 2024