You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "caofangkun (JIRA)" <ji...@apache.org> on 2013/01/30 05:03:13 UTC

[jira] [Created] (HIVE-3961) provide new method for get all sorted tables by table create time

caofangkun created HIVE-3961:
--------------------------------

             Summary: provide new method for get all sorted tables by table create time
                 Key: HIVE-3961
                 URL: https://issues.apache.org/jira/browse/HIVE-3961
             Project: Hive
          Issue Type: Improvement
          Components: Query Processor
    Affects Versions: 0.9.0
            Reporter: caofangkun
            Priority: Minor


  /**
   *
   * @param dbName
   * @param sorted if true then sort by createTime ASC else sort by createTime DESC
   * @return
   * @throws HiveException
   */
  public List<String> getAllTables(String dbName, boolean sorted) throws HiveException {
    return getTablesByPattern(dbName, ".*", sortByCreateTime);
  }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira