1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
|
# File 'lib/impala/protocol/thrift_hive_metastore.rb', line 1494
def process_add_partitions(seqid, iprot, oprot)
args = read_args(iprot, Add_partitions_args)
result = Add_partitions_result.new()
begin
result.success = @handler.add_partitions(args.new_parts)
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
result.o1 = o1
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
result.o2 = o2
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
result.o3 = o3
end
write_result(result, oprot, 'add_partitions', seqid)
end
|