GitHub user sujith71955 opened a pull request:

    https://github.com/apache/spark/pull/21775

    [SPARK-24812][SQL] Last Access Time in the table description is not valid

    ## What changes were proposed in this pull request?
    Last Access Time will always displayed wrong date Wed Dec 31 15:59:59 PST 
1969 when user run  DESC FORMATTED table command
    In hive its displayed as "UNKNOWN" which makes more sense than displaying 
wrong date. seems to be a limitation as of now even from hive, better we can 
follow the hive behavior unless the limitation has been resolved from hive.
    
    ## How was this patch tested?
    UT has been added which makes sure that the wrong date "Wed Dec 31 15:59:59 
PST 1969 "
    shall not be added as value for the Last Access  property

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sujith71955/spark master_hive

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/21775.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21775
    
----
commit 502bb924fdfd4a9593154ce72a128ca869c92fbe
Author: s71955 <sujithchacko.2010@...>
Date:   2018-07-16T07:40:53Z

    [SPARK-24812][SQL] Last Access Time in the table description is not valid
    
    ## What changes were proposed in this pull request?
    Last Access Time will always displayed wrong date Wed Dec 31 15:59:59 PST 
1969 when user run  DESC FORMATTED table command
    In hive its displayed as "UNKNOWN" which makes more sense than displaying 
wrong date. seems to be a limitation as of now, better we can follow the hive 
behavior
    unless the limitation has been resolved from hive.
    
    ## How was this patch tested?
    UT has been added which makes sure that the wrong date "Wed Dec 31 15:59:59 
PST 1969 "
    shall not be added as value for the Last Access  property

----


---

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

Reply via email to