摘要:
转载:Python f-string - formatting strings in Python with f-string (zetcode.com) http://zetcode.com/python Python f-string Python f-string is the newest 阅读全文
摘要:
-- presto 语法 select max(element_at(split("$path",'/'),9)) AS part from table_name ; -- hive 语法 show PARTITION table_name hive 语法参考官网:https://cwiki.apa 阅读全文
摘要:
-- presto 1 SELECT var 2 ,IF(strpos(var,'-')>0,date(substring(var,1,10)),CAST(parse_datetime(CAST(substring(var,1,10) AS varchar), 'yyyyMMdd') AS date 阅读全文