aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruzhastik <uzhas@ydb.tech>2024-02-19 13:54:06 +0300
committerGitHub <noreply@github.com>2024-02-19 13:54:06 +0300
commitfa91b702cf04bd7f13f2b0033dcc57ffdcce81b7 (patch)
treeed2c48d361024b3396cab31d69ea754ed21a620c
parent2582d2fe6a61e1b4f4c520879957d20848c7667c (diff)
downloadydb-fa91b702cf04bd7f13f2b0033dcc57ffdcce81b7.tar.gz
fix test_select_pg (#2047)
-rw-r--r--ydb/tests/fq/yds/test_select_1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ydb/tests/fq/yds/test_select_1.py b/ydb/tests/fq/yds/test_select_1.py
index 116c37dd5ee..64f9677f9c2 100644
--- a/ydb/tests/fq/yds/test_select_1.py
+++ b/ydb/tests/fq/yds/test_select_1.py
@@ -7,7 +7,7 @@ from ydb.tests.tools.fq_runner.kikimr_utils import yq_v1, yq_all
import ydb.public.api.protos.draft.fq_pb2 as fq
import ydb.public.api.protos.ydb_value_pb2 as ydb
-
+from google.protobuf.struct_pb2 import NullValue
class TestSelect1(object):
@yq_all
@@ -93,11 +93,11 @@ class TestSelect1(object):
assert len(result_set.rows) == 1
assert result_set.rows[0].items[0].text_value == "{{1,2,3}}"
- assert result_set.rows[0].items[1].WhichOneof("value") is None
+ assert result_set.rows[0].items[1].null_flag_value == NullValue.NULL_VALUE
assert result_set.rows[0].items[2].text_value == "null"
assert result_set.rows[0].items[3].text_value == "1"
assert result_set.rows[0].items[4].text_value == "t"
- assert result_set.rows[0].items[5].WhichOneof("value") is None
+ assert result_set.rows[0].items[5].null_flag_value == NullValue.NULL_VALUE
@yq_all
def test_select_10_p_19_plus_1(self, client):