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

CSV adapter should read from directory relative to the model file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-incubating
    • Component/s: None
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: