Hello,
I have a macro to generic insert from one source table to another. This works fine in a worflow sometimes, sometimes doesn't.
I converted it to a macro with 1 control parameter only : table_name.
This one and only Control parameter has several actions, depending on the components that required it.
But, for some, reason, the input data for Snowflake, is not substituting the "REPLACE BY STRING" with the Control Parameter: neither for select from a table, neither for create SQL Statement (which creates the dummy table if it doesn't exist).
Is there a limit for actions for the same control parameter or something?
Here is my batch macro behavior:
I use TABLE_NAME to be replace in "SELECT FROM DB.SCHEMA.TABLE_NAME" and TABLE1 for a 2nd action updating the PreSQL .
This used to work before on a workflow, but know, with more actions, it seems it doesn't behave the same way...
Does anybody have a hint that can help me here? Maybe I'm just biased for looking over and over at the same thing!🙄
-> Action 01 for input data: TABLE1 to be updated with ControlParam action for create table in PRESQL statement

-> Action 02: to update TABLE_NAME with controlParameter in select query (table doesn't exist on a 1st run, but that's why I have create table in presql...)
