1,命名规则:
tmp(开头)+表名+批次号(结尾)
eg:tmp_dwd_test_detail_${batchNo}
2,使用方式:
使用之前先删除表
改造前:with dwd_test_detail as (select …)
改造后:
drop table if exists tmp_dwd_test_detail_KaTeX parse error: Expected group after '_' at position 44: …dwd_test_detail_̲{batchNo} as select …
3,程序结尾清除所有的临时表:
程序结束增加节点,删除上面用到的所有临时表:
drop table if exists tmp_dwd_test_detail_${batchNo};
。。。
778

被折叠的 条评论
为什么被折叠?



