码迷,mamicode.com
首页 > 其他好文 > 详细

表table

时间:2019-04-15 17:55:07      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:zip   exist   table   exists   cti   use   nbsp   desc   str   

create table if not exists mydb.employees(

name string comment "employee name",

salary folat comment "employee salary",

subordiantes array<string> comment"names of subordiantes",

deductions map<string,float> comment "keys are deductions name,values are percentages",

address struct<street:string,city:string,state:string,zip:int> comment "home address")

comment "description of the table"

tblproperties("creator"="me","created_at"="2012-01-02")

location "/user/hive/warehouse/mydb.db/employees";

 

 

 

 

)

表table

标签:zip   exist   table   exists   cti   use   nbsp   desc   str   

原文地址:https://www.cnblogs.com/hapyygril/p/10711978.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!