Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Akshay_SH
Contributor
Contributor

Data load error

I am getting the following error while loading the data with the following script.
Can anyone please help

2.png

1.png

  

Labels (1)
4 Replies
edwin
Master II
Master II

what does the table raw look like?  or at least the script that created raw?

vikramv
Creator III
Creator III

 I think the field aliasing that you did in tmp_raw table, should be done 1 step before.

Meaning, There should be a prior resident load in which you do your field aliasing first.

Then you can apply CrossTable on top of that new table as resident load.

Thanks

Vikky

Ksrinivasan
Specialist
Specialist

hi,

do this

P1 as Jan_2020

 

ksrinivasan.

Ksrinivasan
Specialist
Specialist

hi,

cross_doubt:
CrossTable (date, qty,4)
LOAD
ID,
Weight,
PlannNo,
Price,
P1 as Jan_2020,
P2 as Feb_2020,
P3 as Mar_2020,
P4 as Apr_2020

from file

temp:
Load
ID,
Replace(date,'_','/') as FFFF,
qty
Resident [cross_doubt];
drop Table cross_doubt;

result

Ksrinivasan_0-1611217600585.png

 

ksrinivasan