Mihai Budiu created CALCITE-7708:
------------------------------------
Summary: MAP values are converted to string using their internal
representation
Key: CALCITE-7708
URL: https://issues.apache.org/jira/browse/CALCITE-7708
Project: Calcite
Issue Type: Bug
Components: avatica
Affects Versions: avatica-1.28
Reporter: Mihai Budiu
Example:
{code:java}
try (Connection c = DriverManager.getConnection("jdbc:calcite:")) {
ResultSet r = c.createStatement().executeQuery(
"select map['k', date '2020-01-01'] as m from (values (1))");
r.next();
r.getString(1); // returns "{k=18262}", the epoch-day count
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)