aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Efimov <xeno@ydb.tech>2024-09-10 17:12:40 +0700
committerGitHub <noreply@github.com>2024-09-10 10:12:40 +0000
commitf38e45016276218330480a40a5575b3d5523522e (patch)
tree9c2eb6039733f17eaf0792d4ab04bbd5ee4b66ed
parent17a9a618a506cac75f5f7f64ed6df7850e1a664f (diff)
downloadydb-f38e45016276218330480a40a5575b3d5523522e.tar.gz
fix decimal output for builtin query requests (#8950)
-rw-r--r--ydb/core/viewer/viewer_query.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ydb/core/viewer/viewer_query.h b/ydb/core/viewer/viewer_query.h
index 41d018a037..299f08fd43 100644
--- a/ydb/core/viewer/viewer_query.h
+++ b/ydb/core/viewer/viewer_query.h
@@ -414,6 +414,9 @@ private:
case NYdb::TTypeParser::ETypeKind::Pg:
return valueParser.GetPg().Content_;
+ case NYdb::TTypeParser::ETypeKind::Decimal:
+ return valueParser.GetDecimal().ToString();
+
default:
return NJson::JSON_UNDEFINED;
}