calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Jovanovic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-1622) Bugs in website example code
Date Wed, 08 Feb 2017 18:23:41 GMT
Damjan Jovanovic created CALCITE-1622:
-----------------------------------------

             Summary: 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


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)

Mime
View raw message