pvary commented on a change in pull request #1341:
URL: https://github.com/apache/hive/pull/1341#discussion_r463404254



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
##########
@@ -984,16 +984,23 @@ private boolean isViewTable(String catName, String 
dbName, String tblName) throw
       part.setCatName(catName);
       part.setDbName(dbName);
       part.setTableName(tblName);
-      if (fields[4] != null) 
part.setCreateTime(MetastoreDirectSqlUtils.extractSqlInt(fields[4]));
-      if (fields[5] != null) 
part.setLastAccessTime(MetastoreDirectSqlUtils.extractSqlInt(fields[5]));
+      if (fields[4] != null) {
+        part.setCreateTime(MetastoreDirectSqlUtils.extractSqlInt(fields[4]));
+      }
+      if (fields[5] != null) {
+        
part.setLastAccessTime(MetastoreDirectSqlUtils.extractSqlInt(fields[5]));
+      }
       Long writeId = MetastoreDirectSqlUtils.extractSqlLong(fields[14]);
       if (writeId != null) {
         part.setWriteId(writeId);
       }
       partitions.put(partitionId, part);
 
 
-      if (sdId == null) continue; // Probably a view.
+      if (sdId == null)

Review comment:
       Nit: formatting 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to