Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
I need to write a script that only loads max date data from an Athena ODBC Connection.
I have 2 dates:
and I have writen the following script but the trace command shows an empty string:
Sub LAST_LOAD;
LIB CONNECT TO 'athena_odbc_test';
max:
LOAD Date(Floor(Max(data_esecuzione)), 'DD-MM-YYYY') as MaxDate;
SQL SELECT "data_esecuzione"
FROM AwsDataCatalog."table";
let max_date= PEEK(MaxDate,1,'max');
DROP TABLE max;
trace $(max_date);
END SUB;
Can someone please help me understand why the Trace function doesn't return any value? Thanks