Skip to content

Commit

Permalink
Fixed integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Nov 29, 2024
1 parent 623f690 commit ac7bd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/tests/fq/yds/test_row_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def test_filters_optional_field(self, kikimr, client):
filter = ' nested REGEXP ".*abc.*"'
self.run_and_check(kikimr, client, sql + filter, data, expected, 'predicate: WHERE (IF((`nested` IS NOT NULL), CAST(`nested` AS String), NULL) REGEXP \\".*abc.*\\")')
filter = ' CAST(nested AS String) REGEXP ".*abc.*"'
self.run_and_check(kikimr, client, sql + filter, data, expected, 'predicate: WHERE (CAST(`nested` AS Optional<String>) REGEXP \\".*abc.*\\")')
self.run_and_check(kikimr, client, sql + filter, data, expected, 'predicate: WHERE (CAST(`nested` AS String?) REGEXP \\".*abc.*\\")')

@yq_v1
def test_filter_missing_fields(self, kikimr, client):
Expand Down

0 comments on commit ac7bd7b

Please sign in to comment.