I have external tables created in AWS Athena to request S3 data, however the location path contains 1000+ files, so I need the corresponding file name, which will be displayed as a column in the table.
select file_name, col1 from the table where file_name = "test20170516"
In short, I need to know the equivalent of INPUT__FILE__NAME (bush) in AWS Athena Presto or any other ways to achieve the same.
source
share