mirror of https://github.com/CrimsonTome/tldr.git
odps: delete one case and add one case
Change-Id: I3b6fb2d300a2d27e44110566654fed722fb92441waldyrious/alt-syntax
parent
8cd264e4f2
commit
3132be399a
|
@ -14,14 +14,14 @@
|
||||||
|
|
||||||
`show tables;`
|
`show tables;`
|
||||||
|
|
||||||
|
- Describe a table:
|
||||||
|
|
||||||
|
`desc {{table_name}};`
|
||||||
|
|
||||||
- Show table partitions:
|
- Show table partitions:
|
||||||
|
|
||||||
`show partitions {{table_name}};`
|
`show partitions {{table_name}};`
|
||||||
|
|
||||||
- Describe table partition:
|
- Describe a partition:
|
||||||
|
|
||||||
`desc {{table_name}} partition ({{partition_spec}});`
|
`desc {{table_name}} partition ({{partition_spec}});`
|
||||||
|
|
||||||
- Create a partitiond table with lifecycle:
|
|
||||||
|
|
||||||
`create table {{name}} ({{col}} {{type}}) partitioned by ({{col}} {{type}}) lifecycle {{days}};`
|
|
||||||
|
|
Loading…
Reference in New Issue