Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to load this script:
LOAD
ProductID,
UnitCost
FROM [lib://Case_study_3:DataFiles/abc_4.0.xlsx]
(ooxml, embedded labels, table is products);
// ----- UnitCost Map ----- //
UnitCost_Map:
MAPPING LOAD
ProductID,
UnitCost;
SQL SELECT
ProductID,
UnitCost
FROM products;
but I get this error:
Hello,
Try like below, taking resident after SQL table loads..
// ----- UnitCost Map ----- //
UnitCost_Map:
LOAD
ProductID,
UnitCost
SQL SELECT
ProductID,
UnitCost
FROM products;
UnitCostMapping:
MAPPING LOAD
ProductID,
UnitCost
Resident UnitCost_Map;
Drop Table UnitCost_Map;
Thanks,
Ashutosh
your error message is right here