Skip to content

Commit

Permalink
Support PG and Decimal in scheme board cache viewer (#11076)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex007in authored Oct 30, 2024
1 parent a1b2d93 commit 4e69825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/core/tx/scheme_board/cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,8 @@ class TSchemeCache: public TMonitorableActor<TSchemeCache> {
columns.BeginObject()
.WriteKey("Id").WriteULongLong(column.Id)
.WriteKey("Name").WriteString(column.Name)
.WriteKey("Type").WriteULongLong(column.PType.GetTypeId()) // TODO: support pg types
.WriteKey("Type").WriteULongLong(column.PType.GetTypeId())
.WriteKey("TypeName").WriteString(NScheme::TypeName(column.PType, column.PTypeMod))
.WriteKey("KeyOrder").WriteInt(column.KeyOrder)
.EndObject();
}
Expand Down

0 comments on commit 4e69825

Please sign in to comment.