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

SOQL queries for objects Order, Group cause parse errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: P3 (Limited Impact)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: None
    • Labels:
      None
    • Doc Impact:
      No
    • Testing Status:
      STF Testing Required

      Description

      Problem seems to be that Order and Group are SOQL keywords

      See https://ask.streamsets.com/question/1850/salesforce-origin-cannot-parse-soql-with-order-object/

      FORCE_00 - A configuration is invalid because: , FORCE_27 - Error parsing SOQL query SELECT * FROM Order WHERE SystemModstamp > ${offset} ORDER BY SystemModstamp
      

      It may be possible to fix this by modifying the Antlr grammar in SOQL.g4 so that an object type can be any keyword, or an identifier.

        Attachments

          Activity

            People

            Assignee:
            pat Pat Patterson
            Reporter:
            pat Pat Patterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: