Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-19116

Error using DATASET(CSV(ESCAPE('')))

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.12
    • Fix Version/s: 7.0.0
    • Component/s: DFU Server
    • Labels:
      None

      Description

      Example code:

      IMPORT Std;
      
      PATH := '~darksky::new_york_flat.txt';
      
      DATASET
          (
              PATH,
              RECORDOF(PATH, LOOKUP),
              CSV(SEPARATOR('\t'), ESCAPE(''))
          );
      

      The referenced file is a previously-sprayed, tab-delimited text file. Executing this code results in the error:

      System error: -1: Duplicate entry "" added to string matcher
      

      Omitting the ESCAPE flag allows the code to execute.

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              dcamper Dan S. Camper
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: