- 博客(3)
- 收藏
- 关注
转载 python数组列表
python数组列表数组定义访问数组元素更新数组元素删除数组元素Python列表脚本操作符Python列表函数&方法Python包含以下函数:Python包含以下方法:关于list.sort 数组定义 参考文档:https://www.cnblogs.com/NancyRM/p/7985924.html https://www.runoob.com/python/att-list-sort.html 数组是最常用的Python数据类型,它可以作为一个方括号内的逗号分隔值出现。 数组的数据项不需要具有
2020-07-09 22:18:12 3516 2
原创 hive sql 查询最大版本号问题(面试题)
有如下版本号 要求求出最大的版本号 select id from ( select id, dense_rank() over(order by first desc ,second desc,third desc) as rn from (select id, cast(split(id,"\\.")[0] as int) as first, cast(split(id,"\\.")...
2019-08-27 11:25:49 1416
原创 表中数据转表头信息--hql面试
由源表转为结果表 select id, sub['数学'] as math, sub['语文'] as yuwen from ( select id, str_to_map(concat_ws(",",collect_set(concat_ws(':', subject, cast(score as string))))) as sub from test_1 GROUP BY id )...
2019-08-25 10:17:32 134
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人