-
-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Summary
Querying an elastic table with FetchXmlBuilder throws a Generic SQL Error.
Setup
I have created an elastic table 'Generic Details' and created an advanced find query with the following xml:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="tn_genericdetails">
<attribute name="tn_genericdetailsid" />
<attribute name="ttlinseconds" />
<attribute name="partitionid" />
<attribute name="createdon" />
</entity>
</fetch>
These are just the standard fields added to an elastic table on first creation.
When I run this advanced find query I get the full list of elastic rows as expected.
Actual Result
When I try the equivalent query in FetchXmlBuilder it spins for 10 seconds or so before returning this error:
Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 208
Expected Result:
FetchXml queries for Elastic tables should work the same in FetchXmlBuilder as they do in advanced find and via the API.
Version
I am testing with the latest 1.2025.3 release of FetchXmlBuilder.