06 2022 档案
摘要:创建文件夹 if not os.path.exists(batch_save_path): os.makedirs(batch_save_path) 获取文件夹下所有文件 os.listdir(query_data_folder_path) 获取当前路径,加入sys curPath = os.pat
阅读全文
摘要:在网上找了很久,终于解决了,代码如下: with mydata as ( select ID, my_array from ( --some array<struct> example select 1 ID, array(1.1, 2.2, 3.3) as my_array union all s
阅读全文
摘要:How to transform data into a map using group by in Hive SQL? select grade, str_to_map(course_list,',',':') lecture_count_map from ( select grade, conc
阅读全文