[ 
https://issues.apache.org/jira/browse/HIVE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153996#comment-13153996
 ] 

jirapos...@reviews.apache.org commented on HIVE-2526:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2896/
-----------------------------------------------------------

Review request for hive.


Summary
-------

When "describe extended <tname>" is executed, lastAccessTime is always zero 
because its not gtting updated.
Now we have updated the lastAccessTime using the HDFS FileStatus api.


This addresses bug HIVE-2526.
    https://issues.apache.org/jira/browse/HIVE-2526


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java 1202581 
  trunk/ql/src/test/results/clientpositive/ppr_pushdown.q.out 1202581 

Diff: https://reviews.apache.org/r/2896/diff


Testing
-------

All existing tests are passed.


Thanks,

Priyadarshini


                
> "lastAceesTime" is always zero when executed through "describe extended 
> <table_name>" unlike "show table extende like <table_name>"  where 
> lastAccessTime is updated.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2526
>                 URL: https://issues.apache.org/jira/browse/HIVE-2526
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>         Environment: Linux : SuSE 11 SP1
>            Reporter: rohithsharma
>            Priority: Minor
>         Attachments: HIVE-2526.patch
>
>
> When the table is accessed(load),lastAccessTime is displaying updated 
> accessTime in 
> "show table extended like <table_name>".But "describe extended <table_name>" 
> is always displaying zero.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to