Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Field Not Found Error

I'm trying to rename a field in the LOAD statement, but I keep getting an error "Field Id not found".

The field is clearly being selected in the SQL statement. And the ALIAS statement is for the other two fields, as they can be renamed across the entire document, not just this one qvd.

Below is my script.

Any help would be greatly appreciated.

[SF]:

SQL SELECT Account_Extended_Id__c,

  Id,

  Renewal_Status__c

FROM ACCOUNT;

LOAD Id as SFAcctID, Account_Extended_Id__c, Renewal_Status__c FROM SF.QVD;

ALIAS Account_Extended_Id__c as SFAccountExtendedID, Renewal_Status__c as SFClientStatus;

STORE [SF] INTO SF.QVD;

DROP Table [SF];

3 Replies
abeyphilip
Creator II
Creator II

Hi,

Shouldn't it be

LOAD Id as SFAcctID, Account_Extended_Id__c, Renewal_Status__c resident SF?

Regards,

Abey

Gysbert_Wassenaar

Make sure the data from the file SF.QVD actually contains a field named Id.


talk is cheap, supply exceeds demand
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

If this is your actual load script verbatim, then it looks like you are missing a (QVD) qualifier in your QVD load:

LOAD Id as SFAcctID, Account_Extended_Id__c, Renewal_Status__c FROM SF.QVD (QVD);


It's very easy to forget when you type your QVD loads manually...


cheers,


Oleg Troyansky