Skip to content

Commit df01bd9

Browse files
committed
round brackets for key prints
1 parent a613274 commit df01bd9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ydb/core/tablet_flat/flat_page_btree_index.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ namespace NKikimr::NTable::NPage {
285285

286286
void Describe(IOutputStream& out, const TKeyCellDefaults& keyDefaults) const
287287
{
288-
out << '{';
288+
out << '(';
289289

290290
auto iter = Iter();
291291
for (TPos pos : xrange(iter.Count())) {
@@ -297,7 +297,7 @@ namespace NKikimr::NTable::NPage {
297297
out << value;
298298
}
299299

300-
out << '}';
300+
out << ')';
301301
}
302302

303303
private:

ydb/core/tablet_flat/flat_part_slice.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace {
1212

1313
void PrintCells(IOutputStream& out, TArrayRef<const TCell> cells, const TCellDefaults& cellDefaults)
1414
{
15-
out << '{';
15+
out << '(';
1616
size_t pos = 0;
1717
for (const TCell& cell : cells) {
1818
if (pos != 0) {
@@ -22,7 +22,7 @@ void PrintCells(IOutputStream& out, TArrayRef<const TCell> cells, const TCellDef
2222
DbgPrintValue(value, cell, cellDefaults.Types[pos++]);
2323
out << value;
2424
}
25-
out << '}';
25+
out << ')';
2626
}
2727

2828
bool ValidateSlices(TConstArrayRef<TSlice> slices) noexcept

ydb/core/tablet_flat/util_fmt_cell.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TPrintableTypedCells {
1717
}
1818

1919
friend IOutputStream& operator<<(IOutputStream& out, const TPrintableTypedCells& v) {
20-
out << '{';
20+
out << '(';
2121
size_t pos = 0;
2222
for (const TCell& cell : v.Cells) {
2323
if (pos != 0) {
@@ -27,7 +27,7 @@ class TPrintableTypedCells {
2727
DbgPrintValue(value, cell, v.Types[pos++]);
2828
out << value;
2929
}
30-
out << '}';
30+
out << ')';
3131
return out;
3232
}
3333

0 commit comments

Comments
 (0)