You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by am...@apache.org on 2015/12/21 09:46:13 UTC

[23/23] hive git commit: HIVE-11487 : Adds getNumPartitionsByFilter api in metastore api

HIVE-11487 : Adds getNumPartitionsByFilter api in metastore api


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ccb30e3e
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ccb30e3e
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ccb30e3e

Branch: refs/heads/master
Commit: ccb30e3ec1d26fdf4b5fe600a420ae7f2ff247fc
Parents: 6f44fc8
Author: Akshay Goyal <ak...@gmail.com>
Authored: Mon Dec 21 14:15:17 2015 +0530
Committer: Amareshwari Sriramadasu <am...@apache.org>
Committed: Mon Dec 21 14:15:17 2015 +0530

----------------------------------------------------------------------
 metastore/if/hive_metastore.thrift              |    4 +
 .../gen/thrift/gen-cpp/ThriftHiveMetastore.cpp  | 1755 +++++----
 .../gen/thrift/gen-cpp/ThriftHiveMetastore.h    | 2276 +++++++++++-
 .../ThriftHiveMetastore_server.skeleton.cpp     |    5 +
 .../thrift/gen-cpp/hive_metastore_constants.cpp |    2 +-
 .../thrift/gen-cpp/hive_metastore_constants.h   |    2 +-
 .../gen/thrift/gen-cpp/hive_metastore_types.cpp | 2292 +++++++-----
 .../gen/thrift/gen-cpp/hive_metastore_types.h   | 1337 +++----
 .../hive/metastore/api/AbortTxnRequest.java     |    6 +-
 .../metastore/api/AddDynamicPartitions.java     |    6 +-
 .../metastore/api/AddPartitionsRequest.java     |    8 +-
 .../hive/metastore/api/AddPartitionsResult.java |    4 +-
 .../hadoop/hive/metastore/api/AggrStats.java    |    6 +-
 .../metastore/api/AlreadyExistsException.java   |    4 +-
 .../metastore/api/BinaryColumnStatsData.java    |   10 +-
 .../metastore/api/BooleanColumnStatsData.java   |   10 +-
 .../hive/metastore/api/CheckLockRequest.java    |    6 +-
 .../metastore/api/ClearFileMetadataRequest.java |    4 +-
 .../metastore/api/ClearFileMetadataResult.java  |    4 +-
 .../hive/metastore/api/ColumnStatistics.java    |    4 +-
 .../metastore/api/ColumnStatisticsData.java     |    2 +-
 .../metastore/api/ColumnStatisticsDesc.java     |    8 +-
 .../hive/metastore/api/ColumnStatisticsObj.java |    4 +-
 .../hive/metastore/api/CommitTxnRequest.java    |    6 +-
 .../hive/metastore/api/CompactionRequest.java   |    4 +-
 .../hive/metastore/api/CompactionType.java      |    2 +-
 .../api/ConfigValSecurityException.java         |    4 +-
 .../api/CurrentNotificationEventId.java         |    6 +-
 .../hadoop/hive/metastore/api/Database.java     |    4 +-
 .../apache/hadoop/hive/metastore/api/Date.java  |    6 +-
 .../hive/metastore/api/DateColumnStatsData.java |    8 +-
 .../hadoop/hive/metastore/api/Decimal.java      |    6 +-
 .../metastore/api/DecimalColumnStatsData.java   |    8 +-
 .../metastore/api/DoubleColumnStatsData.java    |   12 +-
 .../hive/metastore/api/DropPartitionsExpr.java  |    6 +-
 .../metastore/api/DropPartitionsRequest.java    |   12 +-
 .../metastore/api/DropPartitionsResult.java     |    4 +-
 .../hive/metastore/api/EnvironmentContext.java  |    4 +-
 .../hive/metastore/api/EventRequestType.java    |    2 +-
 .../hadoop/hive/metastore/api/FieldSchema.java  |    4 +-
 .../metastore/api/FileMetadataExprType.java     |    2 +-
 .../hive/metastore/api/FireEventRequest.java    |    6 +-
 .../metastore/api/FireEventRequestData.java     |    2 +-
 .../hive/metastore/api/FireEventResponse.java   |    4 +-
 .../hadoop/hive/metastore/api/Function.java     |    6 +-
 .../hadoop/hive/metastore/api/FunctionType.java |    2 +-
 .../metastore/api/GetAllFunctionsResponse.java  |    4 +-
 .../api/GetFileMetadataByExprRequest.java       |    6 +-
 .../api/GetFileMetadataByExprResult.java        |    6 +-
 .../metastore/api/GetFileMetadataRequest.java   |    4 +-
 .../metastore/api/GetFileMetadataResult.java    |    6 +-
 .../metastore/api/GetOpenTxnsInfoResponse.java  |    6 +-
 .../hive/metastore/api/GetOpenTxnsResponse.java |    6 +-
 .../api/GetPrincipalsInRoleRequest.java         |    4 +-
 .../api/GetPrincipalsInRoleResponse.java        |    4 +-
 .../api/GetRoleGrantsForPrincipalRequest.java   |    4 +-
 .../api/GetRoleGrantsForPrincipalResponse.java  |    4 +-
 .../api/GrantRevokePrivilegeRequest.java        |    6 +-
 .../api/GrantRevokePrivilegeResponse.java       |    6 +-
 .../metastore/api/GrantRevokeRoleRequest.java   |    6 +-
 .../metastore/api/GrantRevokeRoleResponse.java  |    6 +-
 .../hive/metastore/api/GrantRevokeType.java     |    2 +-
 .../hive/metastore/api/HeartbeatRequest.java    |    8 +-
 .../metastore/api/HeartbeatTxnRangeRequest.java |    8 +-
 .../api/HeartbeatTxnRangeResponse.java          |    4 +-
 .../hive/metastore/api/HiveObjectPrivilege.java |    4 +-
 .../hive/metastore/api/HiveObjectRef.java       |    4 +-
 .../hive/metastore/api/HiveObjectType.java      |    2 +-
 .../apache/hadoop/hive/metastore/api/Index.java |   10 +-
 .../api/IndexAlreadyExistsException.java        |    4 +-
 .../metastore/api/InsertEventRequestData.java   |    4 +-
 .../metastore/api/InvalidInputException.java    |    4 +-
 .../metastore/api/InvalidObjectException.java   |    4 +-
 .../api/InvalidOperationException.java          |    4 +-
 .../api/InvalidPartitionException.java          |    4 +-
 .../hive/metastore/api/LockComponent.java       |    4 +-
 .../hadoop/hive/metastore/api/LockLevel.java    |    2 +-
 .../hadoop/hive/metastore/api/LockRequest.java  |    6 +-
 .../hadoop/hive/metastore/api/LockResponse.java |    6 +-
 .../hadoop/hive/metastore/api/LockState.java    |    2 +-
 .../hadoop/hive/metastore/api/LockType.java     |    2 +-
 .../hive/metastore/api/LongColumnStatsData.java |   12 +-
 .../hive/metastore/api/MetaException.java       |    4 +-
 .../hive/metastore/api/MetadataPpdResult.java   |    4 +-
 .../hive/metastore/api/NoSuchLockException.java |    4 +-
 .../metastore/api/NoSuchObjectException.java    |    4 +-
 .../hive/metastore/api/NoSuchTxnException.java  |    4 +-
 .../hive/metastore/api/NotificationEvent.java   |    8 +-
 .../metastore/api/NotificationEventRequest.java |    8 +-
 .../api/NotificationEventResponse.java          |    4 +-
 .../hive/metastore/api/OpenTxnRequest.java      |    6 +-
 .../hive/metastore/api/OpenTxnsResponse.java    |    4 +-
 .../apache/hadoop/hive/metastore/api/Order.java |    6 +-
 .../hadoop/hive/metastore/api/Partition.java    |    8 +-
 .../hive/metastore/api/PartitionEventType.java  |    2 +-
 .../api/PartitionListComposingSpec.java         |    4 +-
 .../hive/metastore/api/PartitionSpec.java       |    4 +-
 .../api/PartitionSpecWithSharedSD.java          |    4 +-
 .../hive/metastore/api/PartitionWithoutSD.java  |    8 +-
 .../metastore/api/PartitionsByExprRequest.java  |    6 +-
 .../metastore/api/PartitionsByExprResult.java   |    6 +-
 .../metastore/api/PartitionsStatsRequest.java   |    4 +-
 .../metastore/api/PartitionsStatsResult.java    |    4 +-
 .../metastore/api/PrincipalPrivilegeSet.java    |    4 +-
 .../hive/metastore/api/PrincipalType.java       |    2 +-
 .../hadoop/hive/metastore/api/PrivilegeBag.java |    4 +-
 .../hive/metastore/api/PrivilegeGrantInfo.java  |    8 +-
 .../metastore/api/PutFileMetadataRequest.java   |    6 +-
 .../metastore/api/PutFileMetadataResult.java    |    4 +-
 .../hive/metastore/api/RequestPartsSpec.java    |    2 +-
 .../hadoop/hive/metastore/api/ResourceType.java |    2 +-
 .../hadoop/hive/metastore/api/ResourceUri.java  |    4 +-
 .../apache/hadoop/hive/metastore/api/Role.java  |    6 +-
 .../hive/metastore/api/RolePrincipalGrant.java  |    8 +-
 .../hadoop/hive/metastore/api/Schema.java       |    4 +-
 .../hadoop/hive/metastore/api/SerDeInfo.java    |    4 +-
 .../api/SetPartitionsStatsRequest.java          |    4 +-
 .../hive/metastore/api/ShowCompactRequest.java  |    4 +-
 .../hive/metastore/api/ShowCompactResponse.java |    4 +-
 .../api/ShowCompactResponseElement.java         |    6 +-
 .../hive/metastore/api/ShowLocksRequest.java    |    4 +-
 .../hive/metastore/api/ShowLocksResponse.java   |    4 +-
 .../metastore/api/ShowLocksResponseElement.java |   12 +-
 .../hadoop/hive/metastore/api/SkewedInfo.java   |    4 +-
 .../hive/metastore/api/StorageDescriptor.java   |   10 +-
 .../metastore/api/StringColumnStatsData.java    |   12 +-
 .../apache/hadoop/hive/metastore/api/Table.java |   12 +-
 .../hadoop/hive/metastore/api/TableMeta.java    |    4 +-
 .../hive/metastore/api/TableStatsRequest.java   |    4 +-
 .../hive/metastore/api/TableStatsResult.java    |    4 +-
 .../hive/metastore/api/ThriftHiveMetastore.java | 3463 ++++++++++++------
 .../hive/metastore/api/TxnAbortedException.java |    4 +-
 .../hadoop/hive/metastore/api/TxnInfo.java      |    6 +-
 .../hive/metastore/api/TxnOpenException.java    |    4 +-
 .../hadoop/hive/metastore/api/TxnState.java     |    2 +-
 .../apache/hadoop/hive/metastore/api/Type.java  |    4 +-
 .../hive/metastore/api/UnknownDBException.java  |    4 +-
 .../api/UnknownPartitionException.java          |    4 +-
 .../metastore/api/UnknownTableException.java    |    4 +-
 .../hive/metastore/api/UnlockRequest.java       |    6 +-
 .../hadoop/hive/metastore/api/Version.java      |    4 +-
 .../metastore/api/hive_metastoreConstants.java  |    2 +-
 .../gen-php/metastore/ThriftHiveMetastore.php   |  316 +-
 .../src/gen/thrift/gen-php/metastore/Types.php  |    2 +-
 .../hive_metastore/ThriftHiveMetastore-remote   |    9 +-
 .../hive_metastore/ThriftHiveMetastore.py       | 2957 +++++----------
 .../thrift/gen-py/hive_metastore/constants.py   |    2 +-
 .../gen/thrift/gen-py/hive_metastore/ttypes.py  |  586 +--
 .../thrift/gen-rb/hive_metastore_constants.rb   |    2 +-
 .../gen/thrift/gen-rb/hive_metastore_types.rb   |    2 +-
 .../gen/thrift/gen-rb/thrift_hive_metastore.rb  |   72 +-
 .../hadoop/hive/metastore/HiveMetaStore.java    |   19 +
 .../hive/metastore/HiveMetaStoreClient.java     |   19 +-
 .../hadoop/hive/metastore/IMetaStoreClient.java |   16 +
 .../hive/metastore/MetaStoreDirectSql.java      |   47 +
 .../hadoop/hive/metastore/ObjectStore.java      |   37 +
 .../apache/hadoop/hive/metastore/RawStore.java  |    3 +
 .../hadoop/hive/metastore/hbase/HBaseStore.java |   15 +
 .../DummyRawStoreControlledCommit.java          |    6 +
 .../DummyRawStoreForJdoConnection.java          |    6 +
 .../hadoop/hive/metastore/TestObjectStore.java  |   11 +-
 .../gen/thrift/gen-cpp/queryplan_constants.cpp  |    2 +-
 ql/src/gen/thrift/gen-cpp/queryplan_constants.h |    2 +-
 ql/src/gen/thrift/gen-cpp/queryplan_types.cpp   |  162 +-
 ql/src/gen/thrift/gen-cpp/queryplan_types.h     |   79 +-
 .../hadoop/hive/ql/plan/api/Adjacency.java      |    4 +-
 .../hadoop/hive/ql/plan/api/AdjacencyType.java  |    2 +-
 .../apache/hadoop/hive/ql/plan/api/Graph.java   |    4 +-
 .../hadoop/hive/ql/plan/api/NodeType.java       |    2 +-
 .../hadoop/hive/ql/plan/api/Operator.java       |    8 +-
 .../hadoop/hive/ql/plan/api/OperatorType.java   |    2 +-
 .../apache/hadoop/hive/ql/plan/api/Query.java   |    8 +-
 .../hadoop/hive/ql/plan/api/QueryPlan.java      |    8 +-
 .../apache/hadoop/hive/ql/plan/api/Stage.java   |    8 +-
 .../hadoop/hive/ql/plan/api/StageType.java      |    2 +-
 .../apache/hadoop/hive/ql/plan/api/Task.java    |    8 +-
 .../hadoop/hive/ql/plan/api/TaskType.java       |    2 +-
 ql/src/gen/thrift/gen-php/Types.php             |    4 +-
 ql/src/gen/thrift/gen-py/queryplan/constants.py |    2 +-
 ql/src/gen/thrift/gen-py/queryplan/ttypes.py    |   80 +-
 ql/src/gen/thrift/gen-rb/queryplan_constants.rb |    2 +-
 ql/src/gen/thrift/gen-rb/queryplan_types.rb     |    2 +-
 .../apache/hadoop/hive/ql/metadata/Hive.java    |   24 +
 .../gen/thrift/gen-cpp/complex_constants.cpp    |    2 +-
 .../src/gen/thrift/gen-cpp/complex_constants.h  |    2 +-
 serde/src/gen/thrift/gen-cpp/complex_types.cpp  |   94 +-
 serde/src/gen/thrift/gen-cpp/complex_types.h    |   46 +-
 .../gen/thrift/gen-cpp/megastruct_constants.cpp |    2 +-
 .../gen/thrift/gen-cpp/megastruct_constants.h   |    2 +-
 .../src/gen/thrift/gen-cpp/megastruct_types.cpp |   70 +-
 serde/src/gen/thrift/gen-cpp/megastruct_types.h |   24 +-
 .../src/gen/thrift/gen-cpp/serde_constants.cpp  |    2 +-
 serde/src/gen/thrift/gen-cpp/serde_constants.h  |    2 +-
 serde/src/gen/thrift/gen-cpp/serde_types.cpp    |    2 +-
 serde/src/gen/thrift/gen-cpp/serde_types.h      |    2 +-
 .../gen/thrift/gen-cpp/testthrift_constants.cpp |    2 +-
 .../gen/thrift/gen-cpp/testthrift_constants.h   |    2 +-
 .../src/gen/thrift/gen-cpp/testthrift_types.cpp |   34 +-
 serde/src/gen/thrift/gen-cpp/testthrift_types.h |   24 +-
 .../hadoop/hive/serde/serdeConstants.java       |    2 +-
 .../hadoop/hive/serde/test/InnerStruct.java     |    6 +-
 .../hadoop/hive/serde/test/ThriftTestObj.java   |    6 +-
 .../hadoop/hive/serde2/thrift/test/Complex.java |    6 +-
 .../hive/serde2/thrift/test/IntString.java      |    8 +-
 .../hive/serde2/thrift/test/MegaStruct.java     |   16 +-
 .../hive/serde2/thrift/test/MiniStruct.java     |    4 +-
 .../hadoop/hive/serde2/thrift/test/MyEnum.java  |    2 +-
 .../hive/serde2/thrift/test/PropValueUnion.java |    2 +-
 .../hive/serde2/thrift/test/SetIntString.java   |    4 +-
 serde/src/gen/thrift/gen-php/Types.php          |    4 +-
 .../org/apache/hadoop/hive/serde/Types.php      |    2 +-
 .../src/gen/thrift/gen-py/complex/constants.py  |    2 +-
 serde/src/gen/thrift/gen-py/complex/ttypes.py   |   44 +-
 .../gen/thrift/gen-py/megastruct/constants.py   |    2 +-
 .../src/gen/thrift/gen-py/megastruct/ttypes.py  |   50 +-
 .../org_apache_hadoop_hive_serde/constants.py   |    2 +-
 .../org_apache_hadoop_hive_serde/ttypes.py      |    2 +-
 .../gen/thrift/gen-py/testthrift/constants.py   |    2 +-
 .../src/gen/thrift/gen-py/testthrift/ttypes.py  |    8 +-
 .../src/gen/thrift/gen-rb/complex_constants.rb  |    2 +-
 serde/src/gen/thrift/gen-rb/complex_types.rb    |    2 +-
 .../gen/thrift/gen-rb/megastruct_constants.rb   |    2 +-
 serde/src/gen/thrift/gen-rb/megastruct_types.rb |    2 +-
 serde/src/gen/thrift/gen-rb/serde_constants.rb  |    2 +-
 serde/src/gen/thrift/gen-rb/serde_types.rb      |    2 +-
 .../gen/thrift/gen-rb/testthrift_constants.rb   |    2 +-
 serde/src/gen/thrift/gen-rb/testthrift_types.rb |    2 +-
 service/src/gen/thrift/gen-cpp/TCLIService.cpp  | 1770 +--------
 service/src/gen/thrift/gen-cpp/TCLIService.h    |  409 ++-
 .../thrift/gen-cpp/TCLIService_constants.cpp    |    2 +-
 .../gen/thrift/gen-cpp/TCLIService_constants.h  |    2 +-
 .../gen/thrift/gen-cpp/TCLIService_types.cpp    | 1226 ++++---
 .../src/gen/thrift/gen-cpp/TCLIService_types.h  |  816 ++---
 service/src/gen/thrift/gen-cpp/ThriftHive.cpp   |  853 +----
 service/src/gen/thrift/gen-cpp/ThriftHive.h     |  199 +-
 .../thrift/gen-cpp/hive_service_constants.cpp   |    2 +-
 .../gen/thrift/gen-cpp/hive_service_constants.h |    2 +-
 .../gen/thrift/gen-cpp/hive_service_types.cpp   |   55 +-
 .../src/gen/thrift/gen-cpp/hive_service_types.h |   26 +-
 .../hadoop/hive/service/HiveClusterStatus.java  |   14 +-
 .../hive/service/HiveServerException.java       |    6 +-
 .../hadoop/hive/service/JobTrackerState.java    |    2 +-
 .../apache/hadoop/hive/service/ThriftHive.java  |    6 +-
 .../service/cli/thrift/TArrayTypeEntry.java     |    6 +-
 .../hive/service/cli/thrift/TBinaryColumn.java  |    6 +-
 .../hive/service/cli/thrift/TBoolColumn.java    |    4 +-
 .../hive/service/cli/thrift/TBoolValue.java     |    6 +-
 .../hive/service/cli/thrift/TByteColumn.java    |    4 +-
 .../hive/service/cli/thrift/TByteValue.java     |    6 +-
 .../hive/service/cli/thrift/TCLIService.java    |    4 +-
 .../cli/thrift/TCLIServiceConstants.java        |    2 +-
 .../cli/thrift/TCancelDelegationTokenReq.java   |    4 +-
 .../cli/thrift/TCancelDelegationTokenResp.java  |    4 +-
 .../service/cli/thrift/TCancelOperationReq.java |    4 +-
 .../cli/thrift/TCancelOperationResp.java        |    4 +-
 .../service/cli/thrift/TCloseOperationReq.java  |    4 +-
 .../service/cli/thrift/TCloseOperationResp.java |    4 +-
 .../service/cli/thrift/TCloseSessionReq.java    |    4 +-
 .../service/cli/thrift/TCloseSessionResp.java   |    4 +-
 .../apache/hive/service/cli/thrift/TColumn.java |    2 +-
 .../hive/service/cli/thrift/TColumnDesc.java    |    6 +-
 .../hive/service/cli/thrift/TColumnValue.java   |    2 +-
 .../hive/service/cli/thrift/TDoubleColumn.java  |    4 +-
 .../hive/service/cli/thrift/TDoubleValue.java   |    6 +-
 .../cli/thrift/TExecuteStatementReq.java        |    6 +-
 .../cli/thrift/TExecuteStatementResp.java       |    4 +-
 .../service/cli/thrift/TFetchOrientation.java   |    2 +-
 .../service/cli/thrift/TFetchResultsReq.java    |    8 +-
 .../service/cli/thrift/TFetchResultsResp.java   |    6 +-
 .../service/cli/thrift/TGetCatalogsReq.java     |    4 +-
 .../service/cli/thrift/TGetCatalogsResp.java    |    4 +-
 .../hive/service/cli/thrift/TGetColumnsReq.java |    4 +-
 .../service/cli/thrift/TGetColumnsResp.java     |    4 +-
 .../cli/thrift/TGetDelegationTokenReq.java      |    4 +-
 .../cli/thrift/TGetDelegationTokenResp.java     |    4 +-
 .../service/cli/thrift/TGetFunctionsReq.java    |    4 +-
 .../service/cli/thrift/TGetFunctionsResp.java   |    4 +-
 .../hive/service/cli/thrift/TGetInfoReq.java    |    4 +-
 .../hive/service/cli/thrift/TGetInfoResp.java   |    4 +-
 .../hive/service/cli/thrift/TGetInfoType.java   |    2 +-
 .../hive/service/cli/thrift/TGetInfoValue.java  |    2 +-
 .../cli/thrift/TGetOperationStatusReq.java      |    4 +-
 .../cli/thrift/TGetOperationStatusResp.java     |    6 +-
 .../cli/thrift/TGetResultSetMetadataReq.java    |    4 +-
 .../cli/thrift/TGetResultSetMetadataResp.java   |    4 +-
 .../hive/service/cli/thrift/TGetSchemasReq.java |    4 +-
 .../service/cli/thrift/TGetSchemasResp.java     |    4 +-
 .../service/cli/thrift/TGetTableTypesReq.java   |    4 +-
 .../service/cli/thrift/TGetTableTypesResp.java  |    4 +-
 .../hive/service/cli/thrift/TGetTablesReq.java  |    4 +-
 .../hive/service/cli/thrift/TGetTablesResp.java |    4 +-
 .../service/cli/thrift/TGetTypeInfoReq.java     |    4 +-
 .../service/cli/thrift/TGetTypeInfoResp.java    |    4 +-
 .../service/cli/thrift/THandleIdentifier.java   |    4 +-
 .../hive/service/cli/thrift/TI16Column.java     |    4 +-
 .../hive/service/cli/thrift/TI16Value.java      |    6 +-
 .../hive/service/cli/thrift/TI32Column.java     |    4 +-
 .../hive/service/cli/thrift/TI32Value.java      |    6 +-
 .../hive/service/cli/thrift/TI64Column.java     |    4 +-
 .../hive/service/cli/thrift/TI64Value.java      |    6 +-
 .../hive/service/cli/thrift/TMapTypeEntry.java  |    8 +-
 .../service/cli/thrift/TOpenSessionReq.java     |    4 +-
 .../service/cli/thrift/TOpenSessionResp.java    |    4 +-
 .../service/cli/thrift/TOperationHandle.java    |    8 +-
 .../service/cli/thrift/TOperationState.java     |    2 +-
 .../hive/service/cli/thrift/TOperationType.java |    2 +-
 .../service/cli/thrift/TPrimitiveTypeEntry.java |    4 +-
 .../service/cli/thrift/TProtocolVersion.java    |    2 +-
 .../cli/thrift/TRenewDelegationTokenReq.java    |    4 +-
 .../cli/thrift/TRenewDelegationTokenResp.java   |    4 +-
 .../apache/hive/service/cli/thrift/TRow.java    |    4 +-
 .../apache/hive/service/cli/thrift/TRowSet.java |    6 +-
 .../hive/service/cli/thrift/TSessionHandle.java |    4 +-
 .../apache/hive/service/cli/thrift/TStatus.java |    6 +-
 .../hive/service/cli/thrift/TStatusCode.java    |    2 +-
 .../hive/service/cli/thrift/TStringColumn.java  |    4 +-
 .../hive/service/cli/thrift/TStringValue.java   |    4 +-
 .../service/cli/thrift/TStructTypeEntry.java    |    4 +-
 .../hive/service/cli/thrift/TTableSchema.java   |    4 +-
 .../hive/service/cli/thrift/TTypeDesc.java      |    4 +-
 .../hive/service/cli/thrift/TTypeEntry.java     |    2 +-
 .../apache/hive/service/cli/thrift/TTypeId.java |    2 +-
 .../service/cli/thrift/TTypeQualifierValue.java |    2 +-
 .../service/cli/thrift/TTypeQualifiers.java     |    4 +-
 .../service/cli/thrift/TUnionTypeEntry.java     |    4 +-
 .../cli/thrift/TUserDefinedTypeEntry.java       |    4 +-
 service/src/gen/thrift/gen-php/TCLIService.php  |    3 +-
 service/src/gen/thrift/gen-php/ThriftHive.php   |    3 +-
 service/src/gen/thrift/gen-php/Types.php        |    4 +-
 .../gen-py/TCLIService/TCLIService-remote       |    2 +-
 .../thrift/gen-py/TCLIService/TCLIService.py    |  269 +-
 .../gen/thrift/gen-py/TCLIService/constants.py  |    2 +-
 .../src/gen/thrift/gen-py/TCLIService/ttypes.py |  190 +-
 .../gen-py/hive_service/ThriftHive-remote       |    9 +-
 .../thrift/gen-py/hive_service/ThriftHive.py    |  135 +-
 .../gen/thrift/gen-py/hive_service/constants.py |    2 +-
 .../gen/thrift/gen-py/hive_service/ttypes.py    |   20 +-
 .../gen/thrift/gen-rb/hive_service_constants.rb |    2 +-
 .../src/gen/thrift/gen-rb/hive_service_types.rb |    2 +-
 .../src/gen/thrift/gen-rb/t_c_l_i_service.rb    |    2 +-
 .../thrift/gen-rb/t_c_l_i_service_constants.rb  |    2 +-
 .../gen/thrift/gen-rb/t_c_l_i_service_types.rb  |    2 +-
 service/src/gen/thrift/gen-rb/thrift_hive.rb    |    2 +-
 343 files changed, 12285 insertions(+), 10964 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ccb30e3e/metastore/if/hive_metastore.thrift
----------------------------------------------------------------------
diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift
index e6403ed..56ec9aa 100755
--- a/metastore/if/hive_metastore.thrift
+++ b/metastore/if/hive_metastore.thrift
@@ -1067,6 +1067,10 @@ service ThriftHiveMetastore extends fb303.FacebookService
   PartitionsByExprResult get_partitions_by_expr(1:PartitionsByExprRequest req)
                        throws(1:MetaException o1, 2:NoSuchObjectException o2)
 
+  // get the partitions matching the given partition filter
+  i32 get_num_partitions_by_filter(1:string db_name 2:string tbl_name 3:string filter)
+                       throws(1:MetaException o1, 2:NoSuchObjectException o2)
+
   // get partitions give a list of partition names
   list<Partition> get_partitions_by_names(1:string db_name 2:string tbl_name 3:list<string> names)
                        throws(1:MetaException o1, 2:NoSuchObjectException o2)