Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKurdyukov committed Sep 11, 2024
1 parent b71b834 commit e476c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ydb.Sdk/src/Value/YdbValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private static string ToYql(Type type)
return type.TypeCase switch
{
Type.TypeOneofCase.TypeId => type.TypeId.ToString(),
Type.TypeOneofCase.DecimalType => $"Decimal({type.DecimalType.Precision}, {type.DecimalType.Scale})",
Type.TypeOneofCase.DecimalType => "Decimal(22, 9)",
Type.TypeOneofCase.OptionalType => $"{ToYql(type.OptionalType.Item)}?",
Type.TypeOneofCase.ListType => $"List<{ToYql(type.ListType.Item)}>",
Type.TypeOneofCase.VoidType => "Void",
Expand Down

0 comments on commit e476c50

Please sign in to comment.