I use Snowflake copy with MATCH_BY_COLUMN_NAME option. We use MATCH_BY_COLUMN_NAME because we have a very long and evolving list of column names. Is there a way to include a LOAD_TIME field with the current timestamp at the time of loading (or copy compilation)?
I tried to add a
LOAD_TIME timestamp default current_timestamp()
in the destination table, but I got NULL value after copy because of the MATCH_BY_COLUMN_NAME.
Please help. Thank you.