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)data-typesArea: type names, value encoding and decoding, row mapping, data formatsenhancement
Recommendation: Keep open — maintainer decision
The decision: whether client-v2 converts a String to Date and Date32 at all, and which text forms it accepts. In the twin issue #3165, the author asked for more use cases before a design (2026-10-01).
Analysis:SerializerUtils.writeDate accepts only LocalDate, ZonedDateTime, and OffsetDateTime, and writeDate32 only LocalDate and ZonedDateTime. Both throw IllegalArgumentException: Cannot convert <value> to Long for any other value (SerializerUtils.java:1568, SerializerUtils.java:1582). The POJO insert (POJOSerDe.java:66) and RowBinaryFormatWriter (RowBinaryFormatWriter.java:98) write through them.
Automated triage by Polyglot AI. A maintainer makes the final decision.
clientModule: the client (client-v2; with legacy: the v1 client)data-typesArea: type names, value encoding and decoding, row mapping, data formatsenhancement
Activity
polyglotAI-bot commentedon Nov 27, 2026
Recommendation: Keep open — maintainer decision
The decision: whether client-v2 converts a
StringtoDateandDate32at all, and which text forms it accepts. In the twin issue #3165, the author asked for more use cases before a design (2026-10-01).main: Not supported on main — the client-v2 writers reject aStringvalue for both types (code read on8480ca001).Stringvalue fails today.DateTime; [Data-Types] Date/Time Values #3323 — open issue for date and time values; open PR jdbc-v2: accept java.sql.Date in the RowBinary writer's setObject #3423 — addsjava.sql.Dateto the same two methods.Analysis:
SerializerUtils.writeDateaccepts onlyLocalDate,ZonedDateTime, andOffsetDateTime, andwriteDate32onlyLocalDateandZonedDateTime. Both throwIllegalArgumentException: Cannot convert <value> to Longfor any other value (SerializerUtils.java:1568,SerializerUtils.java:1582). The POJO insert (POJOSerDe.java:66) andRowBinaryFormatWriter(RowBinaryFormatWriter.java:98) write through them.Automated triage by Polyglot AI. A maintainer makes the final decision.