_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › Hive
Data Analysis(R)
Data Analysis(Python)
Statistics
Data Warehouse
Database System
SQL Server
Impala
Hive
Hadoop

Working Smart
Blog
Philosophy
Link
Miscellaneous
__ edit


蟯螻旧 覯 伎觜襦 一讌螻,
旧 蠍磯.

Contents

1 Hive
2 谿瑚襭
3 覃覈


3 覃覈 #

CREATE EXTERNAL TABLE cassandra_table (key string, colname string, value string)
 STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'
 WITH SERDEPROPERTIES("cassandra.columns.mapping" = ":key,:column,:value" ,
 "cassandra.cf.name" = "User" ,
 "cassandra.host" = "192.168.136.103" , "cassandra.port" = "9160",
 "cassandra.partitioner" = "org.apache.cassandra.dht.RandomPartitioner" )
 TBLPROPERTIES ("cassandra.ks.name" = "MyKeyspace");
蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺

蟯螻旧 覯 伎觜襦 一讌螻,
旧 蠍磯.
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-05 13:57:09Anonymous

覦襯 螳 企Π 豕螻 覓殊企.