Resolved! Reference file name when using COPY INTO?
When using the COPY INTO statement is it possible to reference the current file name in the select staement? A generic example is shown below, hoping I can log the file name in the target table.COPY INTO my_table FROM (SELECT key, index, textData, ...
- 3342 Views
- 3 replies
- 0 kudos
Latest Reply
Found the info I was looking for on the page below:https://docs.databricks.com/ingestion/file-metadata-column.html
- 0 kudos