魔板:
createtable表名(字段1类型1,字段2类型2)partitionedby(分区名类型)rowformatdelimitedfieldsterminatedby'分隔符';
例子:
createtableAccountRegister(#字段信息AppIDString,GameIDString,ChildIdString,IPString,AccountIDString,LogTypeString,LogTimeint,PlatformChannelIdString,IdfaString,Android_idString,MacString)#按年月日分区partitionedby(yearstring,monthstring,daystring)#以|分割rowformatdelimitedfieldsterminatedby'|';
结果:建表完成后,没有这些目录,上传数据后,会自动生成年目录月目录日目录文件