–maxcomputer函数总结
–打开Hive模式并开启2.0新类型。与SQL语句一起提交。
set odps.sql.hive.compatible=true;
–常见函数如下:
– 聚合函数:avg count max median min stddev stddev_samp sum avg
– 日期函数:dateadd date_add date_format datesub datediff datepart
– datetrunc from_unixtime getdate isdate lastday to_date
–数学运算函数:abs acos asin atan conv cos cosh cot exp rand round floor sin sinh sqrt
– tan tanh trunc ln log pow
–数学函数 ceil
–字符串处理函数:chr concat in instr keyvalue length lengthb md5 regexp_instr regexp_replace
– regexp_substr sample split_part to_char substr tolower toupper trim vm_concat
–字符串函数:get_json_object is_encoding parse_url regexp_count regexp_extract url_decode url_encode
– 窗口函数:avg count max min stddev stddev_samp sum dense_rank lag land rank row_number
– cluster_sample percent_rank
–其他函数:cast coalesce decode ordinal option_bit greatest least trans_cols trans_array
– unique_id uuid
maxcomputer函数总结
最新推荐文章于 2024-04-15 14:52:01 发布