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

Couchbaseplugin xpath error processing dataset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.4.2
    • Component/s: Plugins
    • Labels:

      Description

      The below ECL results in this error:

      Error: IPropertyTree: xpath parse error
      XPath Exception: Qualifier expected e.g. [..]
      in xpath = ?Row
      ^ (0, 0), 1,

      ECL:
      schedrec := RECORD
      unsigned day;
      string flight;
      string utc;
      END;

      routerec := RECORD
      string airline;
      string airlineid;
      string3 destinationairport;
      real distance;
      string equipment;
      integer id;
      dataset(schedrec) schedule ;
      string3 sourceairport;
      unsigned stops;
      string type;
      END;

      dataset(routerec) fullroute() := EMBED(couchbase : server(server), bucket(thebucket), detailed_errcodes(1), operation_timeout(5.5), config_total_timeout(15))
      SELECT mybucketalias.* FROM `travel-sample` as mybucketalias WHERE type = 'route' and sourceairport IS NOT NULL LIMIT 10
      ENDEMBED;

      sequential
      (
      OUTPUT(fullroute());
      OUTPUT('Done');
      );

        Attachments

          Activity

            People

            • Assignee:
              dcamper Dan S. Camper
              Reporter:
              rpastrana Rodrigo Pastrana
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: