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

Wrong with model-with-view.json in csv example

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      In model-with-view.json file, the value of operand 'directory' is 'target/test-classes/sales'. Meanwhile the !connect command in Sqlline also specifies 'target/test-classes/model-with-view.json' as model file which causes exception like below:

      0: jdbc:calcite:model=target/test-classes/mod:!tables
      directory target/test-classes/target/test-classes/sales not found
      Error: exception while excecuting query: From line 1, column 15 to line 1, column 18: Table 'EMPS' not found (state=,code=0)
      

      The directory should be fixed.

        Issue Links

          Activity

          Show
          julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/caa1cd32 .
          Hide
          julianhyde Julian Hyde added a comment -

          Resolved in release 1.7.0 (2016-03-22).

          Show
          julianhyde Julian Hyde added a comment - Resolved in release 1.7.0 (2016-03-22).

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              lanwang Lan Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development