[ 
https://issues.apache.org/jira/browse/CALCITE-7708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103539#comment-18103539
 ] 

Mihai Budiu commented on CALCITE-7708:
--------------------------------------

This should be done after CALCITE-7710 to incorporate these improvements. I 
will mark the PR as draft.

> Avatica does not support MAP types
> ----------------------------------
>
>                 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
>            Priority: Minor
>              Labels: pull-request-available
>
> 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)

Reply via email to