Uploaded image for project: 'StreamSets Data Collector'
  1. StreamSets Data Collector
  2. SDC-12659

Directory Origin produces field names enclosed in 'single quotes'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3 (Limited Impact)
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Testing Status:
      STF Testing Required
    • Stage:
      Directory origin

      Description

      I was asked to raise this issue by Metadaddy on Ask Streamsets.

      I have a directory origin reading IIS log files using a regular expression.

      All seems to work as expected, until you attempt to reference a field by its name. It took me a while, but I now realise that the field names are being enclosed in single quotes.

      So in stead of /date, I'm getting /'/date'!

      I have attached a sample pipeline, screenshot of the issue and sample data.

      The workaround for this issue is documented where this issue originated:

      https://ask.streamsets.com/question/6465/directory-origin-producing-field-names-enclosed-in-single-quotes/

        Attachments

        1. 2019-10-10 12_31_22-Greenshot.png
          50 kB
          QA Collective
        2. Defect Demonstration.json
          20 kB
          QA Collective
        3. SampleData.log
          1 kB
          QA Collective

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            qacollective QA Collective
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: