[ https://issues.apache.org/jira/browse/HIVE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167438#comment-13167438 ]
Priyadarshini commented on HIVE-2526: ------------------------------------- Thanks for the comments Namit.. In org.apache.hadoop.hive.metastore.api.Table, the field lastAccessTime has the datatype as int. This field should be of type long for capturing the time information. So thrift side changes has to be done for changing the type. Also "show table extended like <tname>" needs to be changed where it dynamically calculates the lastAccessTime from HDFS. Now lastAccessTime has to be updated into metadata also. > "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 > Assignee: Priyadarshini > 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