Skip to content

Commit

Permalink
Fixed the test case and the documentation. In the tests double quotat…
Browse files Browse the repository at this point in the history
…ion has to be applied as the string value is written later to file

Signed-off-by: Dmitry Volodin <volodin.d.v@gmail.com>
  • Loading branch information
mi-volodin committed Dec 10, 2024
1 parent 837a21b commit cfbc992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/databricks-merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Example below illustrates how these parameters affect the merge statement genera
not_matched_by_source_condition='t.tech_change_ts < current_timestamp()',
not_matched_by_source_action='''
update set
t.attr1 = \'deleted\',
t.attr1 = 'deleted',
t.tech_change_ts = current_timestamp()
''',
merge_with_schema_evolution=true
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/adapter/incremental/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@
not_matched_by_source_condition='t.V > 0',
not_matched_by_source_action='''
update set
t.first = \'--\',
t.second = \'--\',
t.first = \\\'--\\\',
t.second = \\\'--\\\',
t.V = -1
''',
) }}
Expand Down

0 comments on commit cfbc992

Please sign in to comment.