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:23:41 UTC
[jira] [Created] (CALCITE-1622) Bugs in website example code
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)