Forrest logo
back to context overview

odps-table

List of commands for odps-table:

  • odps-table:tldr:5b342 odps-table: Add partition to a table.
    $ alter table ${table_name} add partition (${partition_spec});
    try on your machine
    explain this command
  • odps-table:tldr:808b1 odps-table: Delete table.
    $ drop table ${table_name};
    try on your machine
    explain this command
  • odps-table:tldr:900c2 odps-table: Delete partition from a table.
    $ alter table ${table_name} drop partition (${partition_spec});
    try on your machine
    explain this command
  • odps-table:tldr:975d5 odps-table: Create a table with partition and lifecycle.
    $ create table ${table_name} (${col} ${type}) partitioned by (${col} ${type}) lifecycle ${days};
    try on your machine
    explain this command
  • odps-table:tldr:fa3ee odps-table: Create a table based on the definition of another table.
    $ create table ${table_name} like ${another_table};
    try on your machine
    explain this command
back to context overview