Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I'm trying to use an expression in an inline load but having trouble with the right syntax. Can someone please help? Thx!
TableMinMax:
LOAD * Inline
[
tMinNum, tMaxNum
$(=Min(NumberA)),$(=Max(NumberA)),
$(=Min(NumberB), $(=Max(NumberB))
];
LOAD
NumberA,
NumberB
Resident NumberTable;
It kinda looks like you want to use an inline load as a preceding load. If so, that cannot work. Try this:
TableMinMax:
LOAD
min(NumberA) as tMinNum,
max(NumberA) as tMaxNum,
Resident NumberTable;
CONCATENATE(TableMinMax)
LOAD
min(NumberB) as tMinNum,
max(NumberB) as tMaxNum,
Resident NumberTable;
Yes, that's exactly what I'm trying to do. Thank you!