摘要:        
日常从临时表复制数据到正式表可通过: create table table_name_new as select * from table_name; 但这样子原表的信息,分区等无法直接复制,需要通过额外的方式进行构建表、插入数据。 具体参考如下。 一、全量复制 drop table table_n    阅读全文
posted @ 2023-03-20 16:24
Hider1214
阅读(257)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一、查看分区 查看分区 show partitions table_name; /* update_date=20230305 update_date=20230312 update_date=20230319 */ 查看分区表描述 desc table_name partition(update_    阅读全文
posted @ 2023-03-20 14:51
Hider1214
阅读(3974)
评论(2)
推荐(0)
        

浙公网安备 33010602011771号