Hive正则匹配
create table table_name(
id int,
name string,
identity string,
t_user string,
request string,
agent string
)
row format serde ‘org.apache.hadoop.hive.serde2.RegexSerDe’
with serdeproperties (
“input.regex”="//这里写正则表达式"
)
stored as textfile;
04 .HIVESQL之Hive Serde (利用正则处理复杂的数据加载)
最新推荐文章于 2022-04-18 23:54:21 发布