From 3132be399a6bcaf7010996a0038b1a39bd4b40e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E4=BA=A6=E8=B6=85=28=E4=BD=95=E5=85=AE=29?= Date: Thu, 12 May 2016 00:17:52 +0800 Subject: [PATCH] odps: delete one case and add one case Change-Id: I3b6fb2d300a2d27e44110566654fed722fb92441 --- pages/common/odps.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/odps.md b/pages/common/odps.md index dbbc842bd..f1a994da7 100644 --- a/pages/common/odps.md +++ b/pages/common/odps.md @@ -14,14 +14,14 @@ `show tables;` +- Describe a table: + +`desc {{table_name}};` + - Show table partitions: `show partitions {{table_name}};` -- Describe table partition: +- Describe a partition: `desc {{table_name}} partition ({{partition_spec}});` - -- Create a partitiond table with lifecycle: - -`create table {{name}} ({{col}} {{type}}) partitioned by ({{col}} {{type}}) lifecycle {{days}};`