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

CSV adapter should read from directory relative to the model file

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating
    • None
    • None

    Description

      CSV adapter should read from directory relative to the model file.

      The mechanism is as follows. Add a new operand "modelUri", containing the URI of the model file, to each operand passed to a custom schema. If the model's URI is a file (i.e. not "inline:"), also add a new operand "baseDirectory" containing the model's directory, as a File object.

      The CSV adapter uses this information to look for a directory relative to baseDirectory if the directory specified is relative.

      The additional operands are held in the ModelHandler.ExtraOperand enum.

      Attachments

        Activity

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

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment