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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: