You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clientModule: the client (client-v2; with legacy: the v1 client)documentationImprovements or additions to documentationplanned_workWork that is planned for nearest release. Good to take
Document briefly what is the idea and where to find examples
Define responsibilities
Note that feature is in beta
Also look into this comment:
JacksonJsonParserFactory builds a default ObjectMapper with no special number policy, while GsonJsonParserFactory uses ToNumberPolicy.BIG_DECIMAL so UInt64 and decimal JSON values are not materialized as Double. With JSON_DISABLE_NUMBER_QUOTING, Jackson-backed readers can lose precision or infer the wrong types for large integers and decimals.
Recommendation: Keep open — docs update needed
The Java docs pages do not describe the JSONEachRow reader, and the repo spec has a stale Gson section. The run confirms the precision note of the issue for decimals only.
Status on main: Reproduced on main — on 8480ca001, docs/clickhouse-docs/client.mdx and jdbc.mdx have no JSONEachRow section. A client-v2 run (ClickHouse 26.11.2.4, json_disable_number_quoting) read toDecimal128('12345678901234567890.123456789', 9) as Double1.2345678901234567E19 with JacksonJsonParserFactory; UInt64 max and Int64 2^53+1 stayed exact (BigInteger, Long). GsonJsonParserFactory gave BigDecimal for all three.
Analysis: The reader is described only in the design spec docs/client-v2-json-support.md and in examples/client-v2-json-processors and examples/jdbc-v2-json-processors; no document says that it is beta. The spec section "Integer precision with Gson" (docs/client-v2-json-support.md:506) says that Gson can round integers and shows a factory with LONG_OR_DOUBLE, but GsonJsonParserFactory.java:31 already sets BIG_DECIMAL. JacksonJsonParserFactory.java:18 uses a default ObjectMapper, so a Decimal value loses precision with no error; this can be a separate bug issue.
Automated triage by Polyglot AI. A maintainer makes the final decision.
clientModule: the client (client-v2; with legacy: the v1 client)documentationImprovements or additions to documentationplanned_workWork that is planned for nearest release. Good to take
Activity
polyglotAI-bot commentedon Nov 27, 2026
Recommendation: Keep open — docs update needed
The Java docs pages do not describe the JSONEachRow reader, and the repo spec has a stale Gson section. The run confirms the precision note of the issue for decimals only.
main: Reproduced on main — on8480ca001,docs/clickhouse-docs/client.mdxandjdbc.mdxhave no JSONEachRow section. A client-v2 run (ClickHouse 26.11.2.4,json_disable_number_quoting) readtoDecimal128('12345678901234567890.123456789', 9)asDouble1.2345678901234567E19withJacksonJsonParserFactory;UInt64max andInt642^53+1 stayed exact (BigInteger,Long).GsonJsonParserFactorygaveBigDecimalfor all three.Analysis: The reader is described only in the design spec
docs/client-v2-json-support.mdand inexamples/client-v2-json-processorsandexamples/jdbc-v2-json-processors; no document says that it is beta. The spec section "Integer precision with Gson" (docs/client-v2-json-support.md:506) says that Gson can round integers and shows a factory withLONG_OR_DOUBLE, butGsonJsonParserFactory.java:31already setsBIG_DECIMAL.JacksonJsonParserFactory.java:18uses a defaultObjectMapper, so aDecimalvalue loses precision with no error; this can be a separate bug issue.Automated triage by Polyglot AI. A maintainer makes the final decision.