79533445

Date: 2025-03-25 11:06:56
Score: 2
Natty:
Report link

Thanks to a hint from @DileepRajNarayanThumula I have an answer to my own question:

There's a hidden column in external tables called _metadata . This is a STRUCT containing several fields, including the file update date. So to get the update date for each row of my table, I can write something like this:

SELECT *,
       _metadata.file_modification_time
FROM my_external_table
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @DileepRajNarayanThumula
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Chris Hunt