You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Damjan Jovanovic (JIRA)" <ji...@apache.org> on 2017/02/08 18:25:42 UTC

[jira] [Updated] (CALCITE-1622) Bugs in website example code

     [ https://issues.apache.org/jira/browse/CALCITE-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Damjan Jovanovic updated CALCITE-1622:
--------------------------------------
    Attachment: calcite-example.patch

The patch.

> Bugs in website example code
> ----------------------------
>
>                 Key: CALCITE-1622
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1622
>             Project: Calcite
>          Issue Type: Bug
>          Components: site
>            Reporter: Damjan Jovanovic
>            Assignee: Julian Hyde
>              Labels: documentation, patch
>         Attachments: calcite-example.patch
>
>
> On your website's http://calcite.apache.org/docs/ page, the example code is completely broken: it doesn't add() either the ReflectiveSchema or the JdbcSchema to the CalciteConnection's root schema, and the "name" and "hr" JdbcSchema parameter for MySQL appear to need swapping.
> It took me hours to get Calcite working because of this :(.
> I am attaching a patch.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)