Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1622

Bugs in website example code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • site
    • Patch

    Description

      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.

      Attachments

        1. calcite-example.patch
          2 kB
          Damjan Jovanovic

        Activity

          People

            julianhyde Julian Hyde
            damjan Damjan Jovanovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: