Advertisements
Recently, encountered a scenario, which is a little out of the norm while using the SFDC Connector. Once the issue is understood, it is easily remedied.
The problem / Error
- SOQL run in Salesforce workbench and column returns data
- The DataStage job/ETL runs without errors or warnings
- The target column output only returns null values
The Cause
In short the cause is a misalignment between the SOQL field name and the column name in the columns tab of the connector.
The Solution
The fix is simply to convert the dots in the field name to underscores. Basically, a field name on SOQL of Account.RecordType.Name becomes Account_RecordType_Name.
Example Field / Column Name Fix
Example SQL
Select c.Id,
c.AccountId,
c.CV_Account_Number__c,
c.Name,
c.Role__c,
c.Status__c,
c.Account.RecordType.Name
From Contact c
Columns Tab With Correct Naming Alignment
Please note that the qualifying dots have been converted to underscores.
Related References
Thank you for sharing your info. I truly appreciate your efforts and I will be waiting for your further write ups thanks once again.