-
數據倉庫的結構和建立過程
查看全部 -
hive中的外部表
查看全部 -
hive中的外部表
查看全部 -
hive中的外部表
查看全部 -
hive中的分區表
查看全部 -
hive中的內部表
查看全部 -
hwi目錄打包成war包 jar cvfM0 hive-hwi.war -C web/ . 設置hwi參數 <name>hive.hwi.listen.host</name>
查看全部 -
exlpain plan for select * from emp where deptno=10;
select * from table (dbms_xplain.display)
查看全部 -
HQL執行計劃
查看全部 -
創建桶表
create?table?tb1?( ??sid?int, ??name?string ??info?sring )clustered?by?(name)?into?5?buckets;
查看全部 -
創建外部表
create?external?table?partition_table( ??id?int,??name?string )row?format?delimited?fields?terminated?by?',' location?'/input';
查看全部 -
創建分區表
create?table?partition_table( ??id?int, ??name?string )?partitioned?by?(gender?string)? row?format?delimited?fields?terminated?by?',';
往分區表插入數據
insert?into?partition_table?partition(gender='M') select?id,name?from?sample_table?where?gender='M';
查看全部 -
創建表時指定文件存儲位置
create?table?t1?( ???id?int, ???name?string )?location?'/test/hive/t1';
創建表時指定分隔符:
create?table?t2?( ??id?int, ??name?string )?row?format?delimited?fields?terminated?by?',';
查看全部 -
內部表
分區表
外部表
桶表
查看全部 -
創建結構:
create?table?tb1?( ??sid?int, ??info?struct<name:string,age:int,sex:string> );
數據樣例:?{1,{'Tom',10,'man'}}
查看全部
舉報
0/150
提交
取消