I'm trying to retrieve filename while doing a select from an external table using Synapse Analytics.
I didn't find any way but I was thinking that in the REJECT_ROW_LOCATION ( when some rows are rejected) the file created contains the name of the file that is rejecting some rows.
Have You any ideas on how to proceed? Thanks in advance