[ 
https://issues.apache.org/jira/browse/SPARK-29099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shixiong Zhu resolved SPARK-29099.
----------------------------------
    Resolution: Duplicate

> org.apache.spark.sql.catalyst.catalog.CatalogTable.lastAccessTime is not set
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-29099
>                 URL: https://issues.apache.org/jira/browse/SPARK-29099
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.4
>            Reporter: Shixiong Zhu
>            Priority: Major
>
> I noticed that 
> "org.apache.spark.sql.catalyst.catalog.CatalogTable.lastAccessTime" is always 
> 0 in my environment. Looks like Spark never updates this field in metastore 
> when reading a table. This is fine considering the cost to update it when 
> reading a table is high.
> However, "Last Access" in "describe extended" always shows "Thu Jan 01 
> 00:00:00 UTC 1970" and this is confusing. Can we show something alternative 
> to indicate it's not set?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to