Hive常用sql

1、查看hive建表语句:show create table tablename;

2、查看hive表结构:describe  tablename; 简写:desc tablename;

3、快速建表语句:create table tablename as select  *  from tablename

posted @ 2019-08-07 09:33  Mojiao  阅读(347)  评论(0编辑  收藏  举报