摘要: pig中支持的数据类型int 32位整数long 64位整数float 32为浮点double 64位浮点chararray 字符串 UTF-8 格式bytearray blod二进制boolean 布尔datetime 时间tuple 数组,如:(19,2)bag 数组的数组,如:{(19,2), (18,1)} map key,value组合的结构列表,如[open#apache]SchemasSchemas是指pig script的数据结构,按照原数据列的数据类型来定义,你必须定义准确才能开始你后面的处理工作, Schemas在as语句里边定义,其中LOAD, STREAM, and . 阅读全文
posted @ 2013-09-30 11:24 nosqlcn 阅读(466) 评论(0) 推荐(0) 编辑