三角洲湖支持加入更新吗



是否可以使用联接对delta湖表进行更新?在mysql(和其他数据库(中,您可以使用类似的东西

update table x 
join table y on y.a=x.a 
set x.b=y.b
where x.c='something'

三角洲有类似的东西吗?我知道他们支持存在条款。他们的文档似乎没有提到任何关于加入的更新

您可以使用MERGE INTO命令来实现它。类似于:

merge into x using y
on (x.a=y.a and x.c='something')
when matched then
update set x.b=y.b;