Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: site
    • Flags:
      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.

      1. calcite-example.patch
        2 kB
        Damjan Jovanovic

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.12.0 (2017-03-24).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.12.0 (2017-03-24).
        Hide
        julianhyde Julian Hyde added a comment -
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/4f257149 . Thanks for the patch, Damjan Jovanovic !
        Hide
        julianhyde Julian Hyde added a comment -

        I feel your pain! Thanks for the patch. Will be in shortly, will appear next time we re-generate the site, probably in the next week or two.

        Show
        julianhyde Julian Hyde added a comment - I feel your pain! Thanks for the patch. Will be in shortly, will appear next time we re-generate the site, probably in the next week or two.
        Hide
        damjan Damjan Jovanovic added a comment -

        The patch.

        Show
        damjan Damjan Jovanovic added a comment - The patch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development