我正在使用Azure数据工厂进行Salesforce集成,我能够通过在源连接中选择多个表将数据从Salesforce复制到Azure Blob。我想使用Data Factory为Salesforce的子对象和父对象进行参照完整性,任何人都可以建议我该怎么做。
我尝试使用SOQL在修改子对象时获取父对象,很少有对象具有相同的字段名称,我无法为SOQL查询中的字段提供别名。下面是SOQL查询,在数据工厂查询窗口中出现相同的列错误。
SELECT Id,Name,Stage2__c,
(SELECT CRA_Market_Role__c,Effective_From__c,Effective_To__c,Approval_Status__c,Pending_Flag__c FROM Organisation_Roles__r where CreatedDate = TODAY and IsDeleted = false),
(SELECT Organisation__c ,Effective_From__c,Address_Type__c FROM Organisation_Addresses__r where CreatedDate = TODAY and IsDeleted = false ),
(SELECT Contact_Name__c,Password__c,Contact_Email__c,Contact_Telephone_Number__c FROM Authorised_Signatories__r where CreatedDate = TODAY and IsDeleted = false)
FROM Account where CreatedDate = TODAY