spark postgresql 大批量sql语句执行插入报 errorCode:-104,Node is no...
并行执行删除、插入操作
比如:
{
delete from testcs.testcl where id = '1';
insert into testcl select a,b,c from testcl_source where id = '1';
}
{
delete from testcs.testcl where id = '2';
insert into testcl select a,b,c from testcl_source where id = '3';
}
数据量才百万而已,多个并行就容易报错。