Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkasemmler committed Dec 2, 2024
1 parent 6613a24 commit bee7860
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public function getUpdateWithPkCommandProvider(): Generator
yield 'string' => [
BigqueryImportOptions::USING_TYPES_STRING,
// phpcs:ignore
'UPDATE `import_export_test_schema`.`import_export_test_test` AS `dest` SET `col1` = COALESCE(`src`.`col1`, \'\'), `col2` = COALESCE(`src`.`col2`, \'\') FROM `import_export_test_schema`.`stagingTable` AS `src` WHERE `dest`.`col1` = COALESCE(`src`.`col1`, \'\') AND (`dest`.`col1` != COALESCE(`src`.`col1`, \'\') OR `dest`.`col2` = COALESCE(`src`.`col2`, \'\'))',
'UPDATE `import_export_test_schema`.`import_export_test_test` AS `dest` SET `col1` = COALESCE(`src`.`col1`, \'\'), `col2` = COALESCE(`src`.`col2`, \'\') FROM `import_export_test_schema`.`stagingTable` AS `src` WHERE `dest`.`col1` = COALESCE(`src`.`col1`, \'\') AND (`dest`.`col1` != COALESCE(`src`.`col1`, \'\') OR `dest`.`col2` != COALESCE(`src`.`col2`, \'\'))',
];
}

Expand Down

0 comments on commit bee7860

Please sign in to comment.