You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (Jira)" <ji...@apache.org> on 2019/09/20 07:03:00 UTC

[jira] [Resolved] (SPARK-29099) org.apache.spark.sql.catalyst.catalog.CatalogTable.lastAccessTime is not set

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org