摘要:
1. Hive中复杂数据类型 1>. 复杂类型定义 1.1 map结构数据定义 map<string,string> 1.2 array结构数据定义 array<string> 1.3 struct结构数据定义 struct<id:int,name:string,age:int> 1.4 struc 阅读全文
摘要:
1. concat函数 :在连接字符串的时候,只要其中一个是NULL,那么将返回NULL hive> select concat('a','b'); ab hive> select concat('a','b',null); NULL 2. concat_ws函数:在连接字符串的时候,只要有一个字符 阅读全文