Skip to content

Commit

Permalink
HIVE-2674 get_partitions_ps throws TApplicationException if table doe…
Browse files Browse the repository at this point in the history
…sn't

exist (Kevin Wilfong via namit)



git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1234065 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Namit Jain committed Jan 20, 2012
1 parent f73f141 commit 589dd5a
Show file tree
Hide file tree
Showing 12 changed files with 1,251 additions and 888 deletions.
4 changes: 2 additions & 2 deletions metastore/if/hive_metastore.thrift
Expand Up @@ -348,13 +348,13 @@ service ThriftHiveMetastore extends fb303.FacebookService
// as "".
list<Partition> get_partitions_ps(1:string db_name 2:string tbl_name
3:list<string> part_vals, 4:i16 max_parts=-1)
throws(1:MetaException o1)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
list<Partition> get_partitions_ps_with_auth(1:string db_name, 2:string tbl_name, 3:list<string> part_vals, 4:i16 max_parts=-1,
5: string user_name, 6: list<string> group_names) throws(1:NoSuchObjectException o1, 2:MetaException o2)

list<string> get_partition_names_ps(1:string db_name,
2:string tbl_name, 3:list<string> part_vals, 4:i16 max_parts=-1)
throws(1:MetaException o1)
throws(1:MetaException o1, 2:NoSuchObjectException o2)

// get the partitions matching the given partition filter
list<Partition> get_partitions_by_filter(1:string db_name 2:string tbl_name
Expand Down
52 changes: 52 additions & 0 deletions metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 24 additions & 4 deletions metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 589dd5a

Please sign in to comment.