如何在 AWS Athena 上查询 .csv 文件的创建或最后修改日期

How to query on AWS Athena for .csv file's creation or last modification date

使用 AWS Athena 可以很容易地查询 .csv 文件的名称:

select "$path", * from my_table;

我想知道是否可以对创建或修改时间戳也做同样的事情:

select "$creation_date" from my_table;    
select "$modification_date" from my_table;

我找不到关于这个主题的任何信息。

Athena 目前还没有这样的选项。 Athena 使用 PrestoDB and this feature 已在 Trino(以前称为 prestosql)中引入。

已经为 PrestoDB 提交了一份 request