Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2896

Add TEXTTABLE function capabilities to interpret fixed width data file content that is shorter than the defined line length

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.7
    • None
    • Query Engine
    • None

    Description

      Current behavior is that data lines too short to fit a fixed width data interpretation produces an error such as "Error: Text parse error: Fixed width line width 35 is smaller than the expected 60 on text line 1 in file:/tmp/file.csv.". The customer's use case is interpreting data files from another application which bundles multiple types of data along with additional descriptive info/metadata about the data contained within the file. As the error is thrown if any lines after the first interpreted line are shorter than the summed value of the fixed width columns, they are unable to query the file. The customer wishes for the ERROR to be suppressed and the query to return the data independent of whether it fits the fixed width criteria and potentially to be able to filter the data being retrieved.

      Attachments

        1. sample
          0.5 kB
        2. TEIID-2896.patch
          4 kB

        Issue Links

          Activity

            People

              rhn-engineering-shawkins Steven Hawkins
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: