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)

Reply via email to