
Creator III
2018-04-03
12:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
data load editor: select & load
Hi guys,
I come across I problem I don't understand:
In my data load editor, I have table1 with fields A, B, table2 with fields A, C. My script is:
TABLE:
SELECT A, B FROM table1;
LEFT JOIN (TABLE)
SELECT A, C FROM table2;
LOAD A,B,C RESIDENT TABLE;
But everything is duplicated. If I remove the LOAD, everything is correct. I don't quite understand why. Any idea? Is there any reference regarding this?
Thanks for help!
7,278 Views
- « Previous Replies
-
- 1
- 2
- Next Replies »
10 Replies


Master III
2018-04-03
02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TABLE:
SQL SELECT A, B FROM table1;
LEFT JOIN (TABLE)
SQL SELECT A, C FROM table2;
final:
noconcatenate LOAD A,B,C RESIDENT TABLE;
drop table TABLE;

- « Previous Replies
-
- 1
- 2
- Next Replies »