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

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

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment