Skip to content

Commit aaff381

Browse files
committed
ut_restore fix
1 parent 19487d6 commit aaff381

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

ydb/core/tx/schemeshard/ut_restore/ut_restore.cpp

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,34 +1652,33 @@ value {
16521652
env.TestWaitNotification(runtime, txId);
16531653
TestGetImport(runtime, txId, "/MyRoot");
16541654

1655-
if (!emptyTable) {
1656-
TString expectedJson = TStringBuilder() << "[[[[["
1657-
<< "[%true];" // bool
1658-
<< "[\"" << -12 << "\"];" // date32
1659-
<< "[\"" << 8 << "\"];" // date
1660-
<< "[\"" << -13 << "\"];" // datetime64
1661-
<< "[\"" << 9 << "\"];" // datetime
1662-
<< "[\"" << "555555555555555.123456789" << "\"];" // decimal35
1663-
<< "[\"" << "16.17" << "\"];" // decimal
1664-
<< "[\"" << 6.66 << "\"];" // double
1665-
<< "[\"" << ".18e2" << "\"];" // dynumber
1666-
<< "[\"" << 7.77f << "\"];" // float
1667-
<< "[\"" << -1 << "\"];" // int32
1668-
<< "[\"" << -3 << "\"];" // int64
1669-
<< "[\"" << -15 << "\"];" // interval64
1670-
<< "[\"" << -11 << "\"];" // interval
1671-
<< "[\"" << "{\\\"key\\\": \\\"value\\\"}" << "\"];" // json
1672-
<< "[\"" << "{\\\"key\\\":\\\"value\\\"}" << "\"];" // jsondoc
1673-
<< "[\"" << 1 << "\"];" // key
1674-
<< "[\"" << "test string" << "\"];" // string
1675-
<< "[\"" << -14 << "\"];" // timestamp64
1676-
<< "[\"" << 10 << "\"];" // timestamp
1677-
<< "[\"" << 2 << "\"];" // uint32
1678-
<< "[\"" << 4 << "\"];" // uint64
1679-
<< "[\"" << 5 << "\"];" // uint8
1680-
<< "[\"" << "test string" << "\"];" // utf8
1681-
<< "[[\"" << "wR7fZX2pskeuVjwCPabujA==" << "\"]]" // uuid
1682-
<< "]];\%false]]]";
1655+
TString expectedJson = TStringBuilder() << "[[[[["
1656+
<< "[%true];" // bool
1657+
<< "[\"" << -12 << "\"];" // date32
1658+
<< "[\"" << 8 << "\"];" // date
1659+
<< "[\"" << -13 << "\"];" // datetime64
1660+
<< "[\"" << 9 << "\"];" // datetime
1661+
<< "[\"" << "555555555555555.123456789" << "\"];" // decimal35
1662+
<< "[\"" << "16.17" << "\"];" // decimal
1663+
<< "[\"" << 6.66 << "\"];" // double
1664+
<< "[\"" << ".18e2" << "\"];" // dynumber
1665+
<< "[\"" << 7.77f << "\"];" // float
1666+
<< "[\"" << -1 << "\"];" // int32
1667+
<< "[\"" << -3 << "\"];" // int64
1668+
<< "[\"" << -15 << "\"];" // interval64
1669+
<< "[\"" << -11 << "\"];" // interval
1670+
<< "[\"" << "{\\\"key\\\": \\\"value\\\"}" << "\"];" // json
1671+
<< "[\"" << "{\\\"key\\\":\\\"value\\\"}" << "\"];" // jsondoc
1672+
<< "[\"" << 1 << "\"];" // key
1673+
<< "[\"" << "test string" << "\"];" // string
1674+
<< "[\"" << -14 << "\"];" // timestamp64
1675+
<< "[\"" << 10 << "\"];" // timestamp
1676+
<< "[\"" << 2 << "\"];" // uint32
1677+
<< "[\"" << 4 << "\"];" // uint64
1678+
<< "[\"" << 5 << "\"];" // uint8
1679+
<< "[\"" << "test string" << "\"];" // utf8
1680+
<< "[[\"" << "wR7fZX2pskeuVjwCPabujA==" << "\"]]" // uuid
1681+
<< "]];\%false]]]";
16831682

16841683
const TVector<TString> readColumns = {
16851684
"key",

0 commit comments

Comments
 (0)