Hello Experts,
I'm trying to a perform a Join between two tables...Let's say Table A and Table B in a SQL Script as shown below:
it_tab = SELECT A.KUNNR, A.VKORG, A.VTWEG, A.PARVW, A.PERNR,B.MATNR
FROM <schema_name>.A
<schema_name>.B
WHERE A.VKORG = B.VKORG and A.VTWEG = B.VTWEG and A.MVGR1 = B.MVGR1
GROUP BY A.KUNNR, A.VKORG, A. VTWEG, A.PARVW, A.PERNR, B.MATNR;
and later I want to insert this dataset into a Physical Table as shown below:
INSERT into <schema_name>.C select * from :it_tab;
During the execution of the Procedure, it throws the following error:
GenericFailure exception: column store error: search table error: [9] Memory allocation failedPlease check lines:
Definitely the ResultSet is huge and hence it's not possible to hold.
Is there any way to handle this ?
It would be really great, if you can let me know of any way.
Thanks & regards,
Jomy