impala 0.1.6 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -2
- data/impala.gemspec +1 -2
- data/lib/impala.rb +1 -1
- data/lib/impala/cursor.rb +10 -4
- data/lib/impala/protocol/beeswax_constants.rb +2 -1
- data/lib/impala/protocol/beeswax_service.rb +46 -46
- data/lib/impala/protocol/beeswax_types.rb +31 -30
- data/lib/impala/protocol/cli_service_constants.rb +60 -0
- data/lib/impala/protocol/cli_service_types.rb +1452 -0
- data/lib/impala/protocol/facebook_service.rb +17 -17
- data/lib/impala/protocol/fb303_constants.rb +2 -1
- data/lib/impala/protocol/fb303_types.rb +3 -2
- data/lib/impala/protocol/hive_metastore_constants.rb +2 -1
- data/lib/impala/protocol/hive_metastore_types.rb +102 -101
- data/lib/impala/protocol/impala_hive_server2_service.rb +29 -0
- data/lib/impala/protocol/impala_service.rb +135 -18
- data/lib/impala/protocol/impala_service_constants.rb +2 -1
- data/lib/impala/protocol/impala_service_types.rb +54 -10
- data/lib/impala/protocol/status_constants.rb +2 -1
- data/lib/impala/protocol/status_types.rb +9 -7
- data/lib/impala/protocol/t_c_l_i_service.rb +948 -0
- data/lib/impala/protocol/thrift_hive_metastore.rb +507 -507
- data/lib/impala/version.rb +1 -1
- data/test/test_impala_connected.rb +93 -13
- data/thrift/ImpalaService.thrift +78 -6
- data/thrift/Status.thrift +2 -1
- data/thrift/beeswax.thrift +1 -1
- data/thrift/cli_service.thrift +1015 -0
- metadata +9 -75
- data/lib/impala/protocol/data_constants.rb +0 -12
- data/lib/impala/protocol/data_sinks_constants.rb +0 -12
- data/lib/impala/protocol/data_sinks_types.rb +0 -107
- data/lib/impala/protocol/data_types.rb +0 -77
- data/lib/impala/protocol/descriptors_constants.rb +0 -12
- data/lib/impala/protocol/descriptors_types.rb +0 -266
- data/lib/impala/protocol/exprs_constants.rb +0 -12
- data/lib/impala/protocol/exprs_types.rb +0 -345
- data/lib/impala/protocol/frontend_constants.rb +0 -12
- data/lib/impala/protocol/frontend_types.rb +0 -347
- data/lib/impala/protocol/impala_internal_service.rb +0 -244
- data/lib/impala/protocol/impala_internal_service_constants.rb +0 -12
- data/lib/impala/protocol/impala_internal_service_types.rb +0 -362
- data/lib/impala/protocol/impala_plan_service.rb +0 -310
- data/lib/impala/protocol/impala_plan_service_constants.rb +0 -12
- data/lib/impala/protocol/impala_plan_service_types.rb +0 -36
- data/lib/impala/protocol/java_constants_constants.rb +0 -42
- data/lib/impala/protocol/java_constants_types.rb +0 -14
- data/lib/impala/protocol/opcodes_constants.rb +0 -12
- data/lib/impala/protocol/opcodes_types.rb +0 -309
- data/lib/impala/protocol/partitions_constants.rb +0 -12
- data/lib/impala/protocol/partitions_types.rb +0 -44
- data/lib/impala/protocol/plan_nodes_constants.rb +0 -12
- data/lib/impala/protocol/plan_nodes_types.rb +0 -345
- data/lib/impala/protocol/planner_constants.rb +0 -12
- data/lib/impala/protocol/planner_types.rb +0 -78
- data/lib/impala/protocol/runtime_profile_constants.rb +0 -12
- data/lib/impala/protocol/runtime_profile_types.rb +0 -97
- data/lib/impala/protocol/state_store_service.rb +0 -244
- data/lib/impala/protocol/state_store_service_constants.rb +0 -12
- data/lib/impala/protocol/state_store_service_types.rb +0 -185
- data/lib/impala/protocol/state_store_subscriber_service.rb +0 -82
- data/lib/impala/protocol/state_store_subscriber_service_constants.rb +0 -12
- data/lib/impala/protocol/state_store_subscriber_service_types.rb +0 -67
- data/lib/impala/protocol/statestore_types_constants.rb +0 -12
- data/lib/impala/protocol/statestore_types_types.rb +0 -77
- data/lib/impala/protocol/types_constants.rb +0 -12
- data/lib/impala/protocol/types_types.rb +0 -86
- data/thrift/Data.thrift +0 -52
- data/thrift/DataSinks.thrift +0 -61
- data/thrift/Descriptors.thrift +0 -115
- data/thrift/Exprs.thrift +0 -134
- data/thrift/Frontend.thrift +0 -193
- data/thrift/ImpalaInternalService.thrift +0 -265
- data/thrift/ImpalaPlanService.thrift +0 -44
- data/thrift/JavaConstants.thrift +0 -60
- data/thrift/Opcodes.thrift +0 -317
- data/thrift/Partitions.thrift +0 -41
- data/thrift/PlanNodes.thrift +0 -184
- data/thrift/Planner.thrift +0 -72
- data/thrift/RuntimeProfile.thrift +0 -58
- data/thrift/StateStoreService.thrift +0 -121
- data/thrift/StateStoreSubscriberService.thrift +0 -64
- data/thrift/StatestoreTypes.thrift +0 -50
- data/thrift/Types.thrift +0 -71
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Autogenerated by Thrift Compiler (0.
|
2
|
+
# Autogenerated by Thrift Compiler (0.9.1)
|
3
3
|
#
|
4
4
|
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
5
|
#
|
@@ -12,7 +12,7 @@ module Impala
|
|
12
12
|
module Protocol
|
13
13
|
module HiveMetastore
|
14
14
|
module ThriftHiveMetastore
|
15
|
-
class Client < Impala::Protocol::Fb303::FacebookService::Client
|
15
|
+
class Client < ::Impala::Protocol::Fb303::FacebookService::Client
|
16
16
|
include ::Thrift::Client
|
17
17
|
|
18
18
|
def create_database(database)
|
@@ -1160,7 +1160,7 @@ module Impala
|
|
1160
1160
|
|
1161
1161
|
end
|
1162
1162
|
|
1163
|
-
class Processor < Impala::Protocol::Fb303::FacebookService::Processor
|
1163
|
+
class Processor < ::Impala::Protocol::Fb303::FacebookService::Processor
|
1164
1164
|
include ::Thrift::Processor
|
1165
1165
|
|
1166
1166
|
def process_create_database(seqid, iprot, oprot)
|
@@ -1168,11 +1168,11 @@ module Impala
|
|
1168
1168
|
result = Create_database_result.new()
|
1169
1169
|
begin
|
1170
1170
|
@handler.create_database(args.database)
|
1171
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1171
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1172
1172
|
result.o1 = o1
|
1173
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1173
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1174
1174
|
result.o2 = o2
|
1175
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1175
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1176
1176
|
result.o3 = o3
|
1177
1177
|
end
|
1178
1178
|
write_result(result, oprot, 'create_database', seqid)
|
@@ -1183,9 +1183,9 @@ module Impala
|
|
1183
1183
|
result = Get_database_result.new()
|
1184
1184
|
begin
|
1185
1185
|
result.success = @handler.get_database(args.name)
|
1186
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1186
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1187
1187
|
result.o1 = o1
|
1188
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1188
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1189
1189
|
result.o2 = o2
|
1190
1190
|
end
|
1191
1191
|
write_result(result, oprot, 'get_database', seqid)
|
@@ -1196,11 +1196,11 @@ module Impala
|
|
1196
1196
|
result = Drop_database_result.new()
|
1197
1197
|
begin
|
1198
1198
|
@handler.drop_database(args.name, args.deleteData, args.cascade)
|
1199
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1199
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1200
1200
|
result.o1 = o1
|
1201
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o2
|
1201
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o2
|
1202
1202
|
result.o2 = o2
|
1203
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1203
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1204
1204
|
result.o3 = o3
|
1205
1205
|
end
|
1206
1206
|
write_result(result, oprot, 'drop_database', seqid)
|
@@ -1211,7 +1211,7 @@ module Impala
|
|
1211
1211
|
result = Get_databases_result.new()
|
1212
1212
|
begin
|
1213
1213
|
result.success = @handler.get_databases(args.pattern)
|
1214
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1214
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1215
1215
|
result.o1 = o1
|
1216
1216
|
end
|
1217
1217
|
write_result(result, oprot, 'get_databases', seqid)
|
@@ -1222,7 +1222,7 @@ module Impala
|
|
1222
1222
|
result = Get_all_databases_result.new()
|
1223
1223
|
begin
|
1224
1224
|
result.success = @handler.get_all_databases()
|
1225
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1225
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1226
1226
|
result.o1 = o1
|
1227
1227
|
end
|
1228
1228
|
write_result(result, oprot, 'get_all_databases', seqid)
|
@@ -1233,9 +1233,9 @@ module Impala
|
|
1233
1233
|
result = Alter_database_result.new()
|
1234
1234
|
begin
|
1235
1235
|
@handler.alter_database(args.dbname, args.db)
|
1236
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1236
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1237
1237
|
result.o1 = o1
|
1238
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1238
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1239
1239
|
result.o2 = o2
|
1240
1240
|
end
|
1241
1241
|
write_result(result, oprot, 'alter_database', seqid)
|
@@ -1246,9 +1246,9 @@ module Impala
|
|
1246
1246
|
result = Get_type_result.new()
|
1247
1247
|
begin
|
1248
1248
|
result.success = @handler.get_type(args.name)
|
1249
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1249
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1250
1250
|
result.o1 = o1
|
1251
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1251
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1252
1252
|
result.o2 = o2
|
1253
1253
|
end
|
1254
1254
|
write_result(result, oprot, 'get_type', seqid)
|
@@ -1259,11 +1259,11 @@ module Impala
|
|
1259
1259
|
result = Create_type_result.new()
|
1260
1260
|
begin
|
1261
1261
|
result.success = @handler.create_type(args.type)
|
1262
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1262
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1263
1263
|
result.o1 = o1
|
1264
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1264
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1265
1265
|
result.o2 = o2
|
1266
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1266
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1267
1267
|
result.o3 = o3
|
1268
1268
|
end
|
1269
1269
|
write_result(result, oprot, 'create_type', seqid)
|
@@ -1274,9 +1274,9 @@ module Impala
|
|
1274
1274
|
result = Drop_type_result.new()
|
1275
1275
|
begin
|
1276
1276
|
result.success = @handler.drop_type(args.type)
|
1277
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1277
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1278
1278
|
result.o1 = o1
|
1279
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1279
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1280
1280
|
result.o2 = o2
|
1281
1281
|
end
|
1282
1282
|
write_result(result, oprot, 'drop_type', seqid)
|
@@ -1287,7 +1287,7 @@ module Impala
|
|
1287
1287
|
result = Get_type_all_result.new()
|
1288
1288
|
begin
|
1289
1289
|
result.success = @handler.get_type_all(args.name)
|
1290
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1290
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1291
1291
|
result.o2 = o2
|
1292
1292
|
end
|
1293
1293
|
write_result(result, oprot, 'get_type_all', seqid)
|
@@ -1298,11 +1298,11 @@ module Impala
|
|
1298
1298
|
result = Get_fields_result.new()
|
1299
1299
|
begin
|
1300
1300
|
result.success = @handler.get_fields(args.db_name, args.table_name)
|
1301
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1301
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1302
1302
|
result.o1 = o1
|
1303
|
-
rescue Impala::Protocol::HiveMetastore::UnknownTableException => o2
|
1303
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o2
|
1304
1304
|
result.o2 = o2
|
1305
|
-
rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1305
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1306
1306
|
result.o3 = o3
|
1307
1307
|
end
|
1308
1308
|
write_result(result, oprot, 'get_fields', seqid)
|
@@ -1313,11 +1313,11 @@ module Impala
|
|
1313
1313
|
result = Get_schema_result.new()
|
1314
1314
|
begin
|
1315
1315
|
result.success = @handler.get_schema(args.db_name, args.table_name)
|
1316
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1316
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1317
1317
|
result.o1 = o1
|
1318
|
-
rescue Impala::Protocol::HiveMetastore::UnknownTableException => o2
|
1318
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o2
|
1319
1319
|
result.o2 = o2
|
1320
|
-
rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1320
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1321
1321
|
result.o3 = o3
|
1322
1322
|
end
|
1323
1323
|
write_result(result, oprot, 'get_schema', seqid)
|
@@ -1328,13 +1328,13 @@ module Impala
|
|
1328
1328
|
result = Create_table_result.new()
|
1329
1329
|
begin
|
1330
1330
|
@handler.create_table(args.tbl)
|
1331
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1331
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1332
1332
|
result.o1 = o1
|
1333
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1333
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1334
1334
|
result.o2 = o2
|
1335
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1335
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1336
1336
|
result.o3 = o3
|
1337
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
|
1337
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
|
1338
1338
|
result.o4 = o4
|
1339
1339
|
end
|
1340
1340
|
write_result(result, oprot, 'create_table', seqid)
|
@@ -1345,13 +1345,13 @@ module Impala
|
|
1345
1345
|
result = Create_table_with_environment_context_result.new()
|
1346
1346
|
begin
|
1347
1347
|
@handler.create_table_with_environment_context(args.tbl, args.environment_context)
|
1348
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1348
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o1
|
1349
1349
|
result.o1 = o1
|
1350
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1350
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o2
|
1351
1351
|
result.o2 = o2
|
1352
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1352
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1353
1353
|
result.o3 = o3
|
1354
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
|
1354
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o4
|
1355
1355
|
result.o4 = o4
|
1356
1356
|
end
|
1357
1357
|
write_result(result, oprot, 'create_table_with_environment_context', seqid)
|
@@ -1362,9 +1362,9 @@ module Impala
|
|
1362
1362
|
result = Drop_table_result.new()
|
1363
1363
|
begin
|
1364
1364
|
@handler.drop_table(args.dbname, args.name, args.deleteData)
|
1365
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1365
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1366
1366
|
result.o1 = o1
|
1367
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1367
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1368
1368
|
result.o3 = o3
|
1369
1369
|
end
|
1370
1370
|
write_result(result, oprot, 'drop_table', seqid)
|
@@ -1375,7 +1375,7 @@ module Impala
|
|
1375
1375
|
result = Get_tables_result.new()
|
1376
1376
|
begin
|
1377
1377
|
result.success = @handler.get_tables(args.db_name, args.pattern)
|
1378
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1378
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1379
1379
|
result.o1 = o1
|
1380
1380
|
end
|
1381
1381
|
write_result(result, oprot, 'get_tables', seqid)
|
@@ -1386,7 +1386,7 @@ module Impala
|
|
1386
1386
|
result = Get_all_tables_result.new()
|
1387
1387
|
begin
|
1388
1388
|
result.success = @handler.get_all_tables(args.db_name)
|
1389
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1389
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1390
1390
|
result.o1 = o1
|
1391
1391
|
end
|
1392
1392
|
write_result(result, oprot, 'get_all_tables', seqid)
|
@@ -1397,9 +1397,9 @@ module Impala
|
|
1397
1397
|
result = Get_table_result.new()
|
1398
1398
|
begin
|
1399
1399
|
result.success = @handler.get_table(args.dbname, args.tbl_name)
|
1400
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1400
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1401
1401
|
result.o1 = o1
|
1402
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1402
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1403
1403
|
result.o2 = o2
|
1404
1404
|
end
|
1405
1405
|
write_result(result, oprot, 'get_table', seqid)
|
@@ -1410,11 +1410,11 @@ module Impala
|
|
1410
1410
|
result = Get_table_objects_by_name_result.new()
|
1411
1411
|
begin
|
1412
1412
|
result.success = @handler.get_table_objects_by_name(args.dbname, args.tbl_names)
|
1413
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1413
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1414
1414
|
result.o1 = o1
|
1415
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o2
|
1415
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o2
|
1416
1416
|
result.o2 = o2
|
1417
|
-
rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1417
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1418
1418
|
result.o3 = o3
|
1419
1419
|
end
|
1420
1420
|
write_result(result, oprot, 'get_table_objects_by_name', seqid)
|
@@ -1425,11 +1425,11 @@ module Impala
|
|
1425
1425
|
result = Get_table_names_by_filter_result.new()
|
1426
1426
|
begin
|
1427
1427
|
result.success = @handler.get_table_names_by_filter(args.dbname, args.filter, args.max_tables)
|
1428
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1428
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1429
1429
|
result.o1 = o1
|
1430
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o2
|
1430
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o2
|
1431
1431
|
result.o2 = o2
|
1432
|
-
rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1432
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1433
1433
|
result.o3 = o3
|
1434
1434
|
end
|
1435
1435
|
write_result(result, oprot, 'get_table_names_by_filter', seqid)
|
@@ -1440,9 +1440,9 @@ module Impala
|
|
1440
1440
|
result = Alter_table_result.new()
|
1441
1441
|
begin
|
1442
1442
|
@handler.alter_table(args.dbname, args.tbl_name, args.new_tbl)
|
1443
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1443
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1444
1444
|
result.o1 = o1
|
1445
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1445
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1446
1446
|
result.o2 = o2
|
1447
1447
|
end
|
1448
1448
|
write_result(result, oprot, 'alter_table', seqid)
|
@@ -1453,9 +1453,9 @@ module Impala
|
|
1453
1453
|
result = Alter_table_with_environment_context_result.new()
|
1454
1454
|
begin
|
1455
1455
|
@handler.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context)
|
1456
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1456
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1457
1457
|
result.o1 = o1
|
1458
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1458
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1459
1459
|
result.o2 = o2
|
1460
1460
|
end
|
1461
1461
|
write_result(result, oprot, 'alter_table_with_environment_context', seqid)
|
@@ -1466,11 +1466,11 @@ module Impala
|
|
1466
1466
|
result = Add_partition_result.new()
|
1467
1467
|
begin
|
1468
1468
|
result.success = @handler.add_partition(args.new_part)
|
1469
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1469
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1470
1470
|
result.o1 = o1
|
1471
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1471
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1472
1472
|
result.o2 = o2
|
1473
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1473
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1474
1474
|
result.o3 = o3
|
1475
1475
|
end
|
1476
1476
|
write_result(result, oprot, 'add_partition', seqid)
|
@@ -1481,11 +1481,11 @@ module Impala
|
|
1481
1481
|
result = Add_partition_with_environment_context_result.new()
|
1482
1482
|
begin
|
1483
1483
|
result.success = @handler.add_partition_with_environment_context(args.new_part, args.environment_context)
|
1484
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1484
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1485
1485
|
result.o1 = o1
|
1486
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1486
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1487
1487
|
result.o2 = o2
|
1488
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1488
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1489
1489
|
result.o3 = o3
|
1490
1490
|
end
|
1491
1491
|
write_result(result, oprot, 'add_partition_with_environment_context', seqid)
|
@@ -1496,11 +1496,11 @@ module Impala
|
|
1496
1496
|
result = Add_partitions_result.new()
|
1497
1497
|
begin
|
1498
1498
|
result.success = @handler.add_partitions(args.new_parts)
|
1499
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1499
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1500
1500
|
result.o1 = o1
|
1501
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1501
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1502
1502
|
result.o2 = o2
|
1503
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1503
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1504
1504
|
result.o3 = o3
|
1505
1505
|
end
|
1506
1506
|
write_result(result, oprot, 'add_partitions', seqid)
|
@@ -1511,11 +1511,11 @@ module Impala
|
|
1511
1511
|
result = Append_partition_result.new()
|
1512
1512
|
begin
|
1513
1513
|
result.success = @handler.append_partition(args.db_name, args.tbl_name, args.part_vals)
|
1514
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1514
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1515
1515
|
result.o1 = o1
|
1516
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1516
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1517
1517
|
result.o2 = o2
|
1518
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1518
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1519
1519
|
result.o3 = o3
|
1520
1520
|
end
|
1521
1521
|
write_result(result, oprot, 'append_partition', seqid)
|
@@ -1526,11 +1526,11 @@ module Impala
|
|
1526
1526
|
result = Append_partition_by_name_result.new()
|
1527
1527
|
begin
|
1528
1528
|
result.success = @handler.append_partition_by_name(args.db_name, args.tbl_name, args.part_name)
|
1529
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1529
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1530
1530
|
result.o1 = o1
|
1531
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1531
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1532
1532
|
result.o2 = o2
|
1533
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1533
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1534
1534
|
result.o3 = o3
|
1535
1535
|
end
|
1536
1536
|
write_result(result, oprot, 'append_partition_by_name', seqid)
|
@@ -1541,9 +1541,9 @@ module Impala
|
|
1541
1541
|
result = Drop_partition_result.new()
|
1542
1542
|
begin
|
1543
1543
|
result.success = @handler.drop_partition(args.db_name, args.tbl_name, args.part_vals, args.deleteData)
|
1544
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1544
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1545
1545
|
result.o1 = o1
|
1546
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1546
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1547
1547
|
result.o2 = o2
|
1548
1548
|
end
|
1549
1549
|
write_result(result, oprot, 'drop_partition', seqid)
|
@@ -1554,9 +1554,9 @@ module Impala
|
|
1554
1554
|
result = Drop_partition_by_name_result.new()
|
1555
1555
|
begin
|
1556
1556
|
result.success = @handler.drop_partition_by_name(args.db_name, args.tbl_name, args.part_name, args.deleteData)
|
1557
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1557
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1558
1558
|
result.o1 = o1
|
1559
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1559
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1560
1560
|
result.o2 = o2
|
1561
1561
|
end
|
1562
1562
|
write_result(result, oprot, 'drop_partition_by_name', seqid)
|
@@ -1567,9 +1567,9 @@ module Impala
|
|
1567
1567
|
result = Get_partition_result.new()
|
1568
1568
|
begin
|
1569
1569
|
result.success = @handler.get_partition(args.db_name, args.tbl_name, args.part_vals)
|
1570
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1570
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1571
1571
|
result.o1 = o1
|
1572
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1572
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1573
1573
|
result.o2 = o2
|
1574
1574
|
end
|
1575
1575
|
write_result(result, oprot, 'get_partition', seqid)
|
@@ -1580,9 +1580,9 @@ module Impala
|
|
1580
1580
|
result = Get_partition_with_auth_result.new()
|
1581
1581
|
begin
|
1582
1582
|
result.success = @handler.get_partition_with_auth(args.db_name, args.tbl_name, args.part_vals, args.user_name, args.group_names)
|
1583
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1583
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1584
1584
|
result.o1 = o1
|
1585
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1585
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1586
1586
|
result.o2 = o2
|
1587
1587
|
end
|
1588
1588
|
write_result(result, oprot, 'get_partition_with_auth', seqid)
|
@@ -1593,9 +1593,9 @@ module Impala
|
|
1593
1593
|
result = Get_partition_by_name_result.new()
|
1594
1594
|
begin
|
1595
1595
|
result.success = @handler.get_partition_by_name(args.db_name, args.tbl_name, args.part_name)
|
1596
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1596
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1597
1597
|
result.o1 = o1
|
1598
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1598
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1599
1599
|
result.o2 = o2
|
1600
1600
|
end
|
1601
1601
|
write_result(result, oprot, 'get_partition_by_name', seqid)
|
@@ -1606,9 +1606,9 @@ module Impala
|
|
1606
1606
|
result = Get_partitions_result.new()
|
1607
1607
|
begin
|
1608
1608
|
result.success = @handler.get_partitions(args.db_name, args.tbl_name, args.max_parts)
|
1609
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1609
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1610
1610
|
result.o1 = o1
|
1611
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1611
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1612
1612
|
result.o2 = o2
|
1613
1613
|
end
|
1614
1614
|
write_result(result, oprot, 'get_partitions', seqid)
|
@@ -1619,9 +1619,9 @@ module Impala
|
|
1619
1619
|
result = Get_partitions_with_auth_result.new()
|
1620
1620
|
begin
|
1621
1621
|
result.success = @handler.get_partitions_with_auth(args.db_name, args.tbl_name, args.max_parts, args.user_name, args.group_names)
|
1622
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1622
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1623
1623
|
result.o1 = o1
|
1624
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1624
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1625
1625
|
result.o2 = o2
|
1626
1626
|
end
|
1627
1627
|
write_result(result, oprot, 'get_partitions_with_auth', seqid)
|
@@ -1632,7 +1632,7 @@ module Impala
|
|
1632
1632
|
result = Get_partition_names_result.new()
|
1633
1633
|
begin
|
1634
1634
|
result.success = @handler.get_partition_names(args.db_name, args.tbl_name, args.max_parts)
|
1635
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1635
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1636
1636
|
result.o2 = o2
|
1637
1637
|
end
|
1638
1638
|
write_result(result, oprot, 'get_partition_names', seqid)
|
@@ -1643,9 +1643,9 @@ module Impala
|
|
1643
1643
|
result = Get_partitions_ps_result.new()
|
1644
1644
|
begin
|
1645
1645
|
result.success = @handler.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
|
1646
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1646
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1647
1647
|
result.o1 = o1
|
1648
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1648
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1649
1649
|
result.o2 = o2
|
1650
1650
|
end
|
1651
1651
|
write_result(result, oprot, 'get_partitions_ps', seqid)
|
@@ -1656,9 +1656,9 @@ module Impala
|
|
1656
1656
|
result = Get_partitions_ps_with_auth_result.new()
|
1657
1657
|
begin
|
1658
1658
|
result.success = @handler.get_partitions_ps_with_auth(args.db_name, args.tbl_name, args.part_vals, args.max_parts, args.user_name, args.group_names)
|
1659
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1659
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1660
1660
|
result.o1 = o1
|
1661
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1661
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1662
1662
|
result.o2 = o2
|
1663
1663
|
end
|
1664
1664
|
write_result(result, oprot, 'get_partitions_ps_with_auth', seqid)
|
@@ -1669,9 +1669,9 @@ module Impala
|
|
1669
1669
|
result = Get_partition_names_ps_result.new()
|
1670
1670
|
begin
|
1671
1671
|
result.success = @handler.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts)
|
1672
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1672
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1673
1673
|
result.o1 = o1
|
1674
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1674
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1675
1675
|
result.o2 = o2
|
1676
1676
|
end
|
1677
1677
|
write_result(result, oprot, 'get_partition_names_ps', seqid)
|
@@ -1682,9 +1682,9 @@ module Impala
|
|
1682
1682
|
result = Get_partitions_by_filter_result.new()
|
1683
1683
|
begin
|
1684
1684
|
result.success = @handler.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts)
|
1685
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1685
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1686
1686
|
result.o1 = o1
|
1687
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1687
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1688
1688
|
result.o2 = o2
|
1689
1689
|
end
|
1690
1690
|
write_result(result, oprot, 'get_partitions_by_filter', seqid)
|
@@ -1695,9 +1695,9 @@ module Impala
|
|
1695
1695
|
result = Get_partitions_by_names_result.new()
|
1696
1696
|
begin
|
1697
1697
|
result.success = @handler.get_partitions_by_names(args.db_name, args.tbl_name, args.names)
|
1698
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1698
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1699
1699
|
result.o1 = o1
|
1700
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1700
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1701
1701
|
result.o2 = o2
|
1702
1702
|
end
|
1703
1703
|
write_result(result, oprot, 'get_partitions_by_names', seqid)
|
@@ -1708,9 +1708,9 @@ module Impala
|
|
1708
1708
|
result = Alter_partition_result.new()
|
1709
1709
|
begin
|
1710
1710
|
@handler.alter_partition(args.db_name, args.tbl_name, args.new_part)
|
1711
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1711
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1712
1712
|
result.o1 = o1
|
1713
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1713
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1714
1714
|
result.o2 = o2
|
1715
1715
|
end
|
1716
1716
|
write_result(result, oprot, 'alter_partition', seqid)
|
@@ -1721,9 +1721,9 @@ module Impala
|
|
1721
1721
|
result = Alter_partition_with_environment_context_result.new()
|
1722
1722
|
begin
|
1723
1723
|
@handler.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context)
|
1724
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1724
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1725
1725
|
result.o1 = o1
|
1726
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1726
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1727
1727
|
result.o2 = o2
|
1728
1728
|
end
|
1729
1729
|
write_result(result, oprot, 'alter_partition_with_environment_context', seqid)
|
@@ -1734,9 +1734,9 @@ module Impala
|
|
1734
1734
|
result = Rename_partition_result.new()
|
1735
1735
|
begin
|
1736
1736
|
@handler.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part)
|
1737
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1737
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1738
1738
|
result.o1 = o1
|
1739
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1739
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1740
1740
|
result.o2 = o2
|
1741
1741
|
end
|
1742
1742
|
write_result(result, oprot, 'rename_partition', seqid)
|
@@ -1747,7 +1747,7 @@ module Impala
|
|
1747
1747
|
result = Get_config_value_result.new()
|
1748
1748
|
begin
|
1749
1749
|
result.success = @handler.get_config_value(args.name, args.defaultValue)
|
1750
|
-
rescue Impala::Protocol::HiveMetastore::ConfigValSecurityException => o1
|
1750
|
+
rescue ::Impala::Protocol::HiveMetastore::ConfigValSecurityException => o1
|
1751
1751
|
result.o1 = o1
|
1752
1752
|
end
|
1753
1753
|
write_result(result, oprot, 'get_config_value', seqid)
|
@@ -1758,7 +1758,7 @@ module Impala
|
|
1758
1758
|
result = Partition_name_to_vals_result.new()
|
1759
1759
|
begin
|
1760
1760
|
result.success = @handler.partition_name_to_vals(args.part_name)
|
1761
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1761
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1762
1762
|
result.o1 = o1
|
1763
1763
|
end
|
1764
1764
|
write_result(result, oprot, 'partition_name_to_vals', seqid)
|
@@ -1769,7 +1769,7 @@ module Impala
|
|
1769
1769
|
result = Partition_name_to_spec_result.new()
|
1770
1770
|
begin
|
1771
1771
|
result.success = @handler.partition_name_to_spec(args.part_name)
|
1772
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1772
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1773
1773
|
result.o1 = o1
|
1774
1774
|
end
|
1775
1775
|
write_result(result, oprot, 'partition_name_to_spec', seqid)
|
@@ -1780,17 +1780,17 @@ module Impala
|
|
1780
1780
|
result = MarkPartitionForEvent_result.new()
|
1781
1781
|
begin
|
1782
1782
|
@handler.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType)
|
1783
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1783
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1784
1784
|
result.o1 = o1
|
1785
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1785
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1786
1786
|
result.o2 = o2
|
1787
|
-
rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1787
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1788
1788
|
result.o3 = o3
|
1789
|
-
rescue Impala::Protocol::HiveMetastore::UnknownTableException => o4
|
1789
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o4
|
1790
1790
|
result.o4 = o4
|
1791
|
-
rescue Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
|
1791
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
|
1792
1792
|
result.o5 = o5
|
1793
|
-
rescue Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
|
1793
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
|
1794
1794
|
result.o6 = o6
|
1795
1795
|
end
|
1796
1796
|
write_result(result, oprot, 'markPartitionForEvent', seqid)
|
@@ -1801,17 +1801,17 @@ module Impala
|
|
1801
1801
|
result = IsPartitionMarkedForEvent_result.new()
|
1802
1802
|
begin
|
1803
1803
|
result.success = @handler.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType)
|
1804
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1804
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1805
1805
|
result.o1 = o1
|
1806
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1806
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1807
1807
|
result.o2 = o2
|
1808
|
-
rescue Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1808
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownDBException => o3
|
1809
1809
|
result.o3 = o3
|
1810
|
-
rescue Impala::Protocol::HiveMetastore::UnknownTableException => o4
|
1810
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownTableException => o4
|
1811
1811
|
result.o4 = o4
|
1812
|
-
rescue Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
|
1812
|
+
rescue ::Impala::Protocol::HiveMetastore::UnknownPartitionException => o5
|
1813
1813
|
result.o5 = o5
|
1814
|
-
rescue Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
|
1814
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidPartitionException => o6
|
1815
1815
|
result.o6 = o6
|
1816
1816
|
end
|
1817
1817
|
write_result(result, oprot, 'isPartitionMarkedForEvent', seqid)
|
@@ -1822,11 +1822,11 @@ module Impala
|
|
1822
1822
|
result = Add_index_result.new()
|
1823
1823
|
begin
|
1824
1824
|
result.success = @handler.add_index(args.new_index, args.index_table)
|
1825
|
-
rescue Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1825
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidObjectException => o1
|
1826
1826
|
result.o1 = o1
|
1827
|
-
rescue Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1827
|
+
rescue ::Impala::Protocol::HiveMetastore::AlreadyExistsException => o2
|
1828
1828
|
result.o2 = o2
|
1829
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o3
|
1829
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o3
|
1830
1830
|
result.o3 = o3
|
1831
1831
|
end
|
1832
1832
|
write_result(result, oprot, 'add_index', seqid)
|
@@ -1837,9 +1837,9 @@ module Impala
|
|
1837
1837
|
result = Alter_index_result.new()
|
1838
1838
|
begin
|
1839
1839
|
@handler.alter_index(args.dbname, args.base_tbl_name, args.idx_name, args.new_idx)
|
1840
|
-
rescue Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1840
|
+
rescue ::Impala::Protocol::HiveMetastore::InvalidOperationException => o1
|
1841
1841
|
result.o1 = o1
|
1842
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1842
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1843
1843
|
result.o2 = o2
|
1844
1844
|
end
|
1845
1845
|
write_result(result, oprot, 'alter_index', seqid)
|
@@ -1850,9 +1850,9 @@ module Impala
|
|
1850
1850
|
result = Drop_index_by_name_result.new()
|
1851
1851
|
begin
|
1852
1852
|
result.success = @handler.drop_index_by_name(args.db_name, args.tbl_name, args.index_name, args.deleteData)
|
1853
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1853
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1854
1854
|
result.o1 = o1
|
1855
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1855
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1856
1856
|
result.o2 = o2
|
1857
1857
|
end
|
1858
1858
|
write_result(result, oprot, 'drop_index_by_name', seqid)
|
@@ -1863,9 +1863,9 @@ module Impala
|
|
1863
1863
|
result = Get_index_by_name_result.new()
|
1864
1864
|
begin
|
1865
1865
|
result.success = @handler.get_index_by_name(args.db_name, args.tbl_name, args.index_name)
|
1866
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1866
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1867
1867
|
result.o1 = o1
|
1868
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1868
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o2
|
1869
1869
|
result.o2 = o2
|
1870
1870
|
end
|
1871
1871
|
write_result(result, oprot, 'get_index_by_name', seqid)
|
@@ -1876,9 +1876,9 @@ module Impala
|
|
1876
1876
|
result = Get_indexes_result.new()
|
1877
1877
|
begin
|
1878
1878
|
result.success = @handler.get_indexes(args.db_name, args.tbl_name, args.max_indexes)
|
1879
|
-
rescue Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1879
|
+
rescue ::Impala::Protocol::HiveMetastore::NoSuchObjectException => o1
|
1880
1880
|
result.o1 = o1
|
1881
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1881
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1882
1882
|
result.o2 = o2
|
1883
1883
|
end
|
1884
1884
|
write_result(result, oprot, 'get_indexes', seqid)
|
@@ -1889,7 +1889,7 @@ module Impala
|
|
1889
1889
|
result = Get_index_names_result.new()
|
1890
1890
|
begin
|
1891
1891
|
result.success = @handler.get_index_names(args.db_name, args.tbl_name, args.max_indexes)
|
1892
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o2
|
1892
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o2
|
1893
1893
|
result.o2 = o2
|
1894
1894
|
end
|
1895
1895
|
write_result(result, oprot, 'get_index_names', seqid)
|
@@ -1900,7 +1900,7 @@ module Impala
|
|
1900
1900
|
result = Create_role_result.new()
|
1901
1901
|
begin
|
1902
1902
|
result.success = @handler.create_role(args.role)
|
1903
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1903
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1904
1904
|
result.o1 = o1
|
1905
1905
|
end
|
1906
1906
|
write_result(result, oprot, 'create_role', seqid)
|
@@ -1911,7 +1911,7 @@ module Impala
|
|
1911
1911
|
result = Drop_role_result.new()
|
1912
1912
|
begin
|
1913
1913
|
result.success = @handler.drop_role(args.role_name)
|
1914
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1914
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1915
1915
|
result.o1 = o1
|
1916
1916
|
end
|
1917
1917
|
write_result(result, oprot, 'drop_role', seqid)
|
@@ -1922,7 +1922,7 @@ module Impala
|
|
1922
1922
|
result = Get_role_names_result.new()
|
1923
1923
|
begin
|
1924
1924
|
result.success = @handler.get_role_names()
|
1925
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1925
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1926
1926
|
result.o1 = o1
|
1927
1927
|
end
|
1928
1928
|
write_result(result, oprot, 'get_role_names', seqid)
|
@@ -1933,7 +1933,7 @@ module Impala
|
|
1933
1933
|
result = Grant_role_result.new()
|
1934
1934
|
begin
|
1935
1935
|
result.success = @handler.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option)
|
1936
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1936
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1937
1937
|
result.o1 = o1
|
1938
1938
|
end
|
1939
1939
|
write_result(result, oprot, 'grant_role', seqid)
|
@@ -1944,7 +1944,7 @@ module Impala
|
|
1944
1944
|
result = Revoke_role_result.new()
|
1945
1945
|
begin
|
1946
1946
|
result.success = @handler.revoke_role(args.role_name, args.principal_name, args.principal_type)
|
1947
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1947
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1948
1948
|
result.o1 = o1
|
1949
1949
|
end
|
1950
1950
|
write_result(result, oprot, 'revoke_role', seqid)
|
@@ -1955,7 +1955,7 @@ module Impala
|
|
1955
1955
|
result = List_roles_result.new()
|
1956
1956
|
begin
|
1957
1957
|
result.success = @handler.list_roles(args.principal_name, args.principal_type)
|
1958
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1958
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1959
1959
|
result.o1 = o1
|
1960
1960
|
end
|
1961
1961
|
write_result(result, oprot, 'list_roles', seqid)
|
@@ -1966,7 +1966,7 @@ module Impala
|
|
1966
1966
|
result = Get_privilege_set_result.new()
|
1967
1967
|
begin
|
1968
1968
|
result.success = @handler.get_privilege_set(args.hiveObject, args.user_name, args.group_names)
|
1969
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1969
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1970
1970
|
result.o1 = o1
|
1971
1971
|
end
|
1972
1972
|
write_result(result, oprot, 'get_privilege_set', seqid)
|
@@ -1977,7 +1977,7 @@ module Impala
|
|
1977
1977
|
result = List_privileges_result.new()
|
1978
1978
|
begin
|
1979
1979
|
result.success = @handler.list_privileges(args.principal_name, args.principal_type, args.hiveObject)
|
1980
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1980
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1981
1981
|
result.o1 = o1
|
1982
1982
|
end
|
1983
1983
|
write_result(result, oprot, 'list_privileges', seqid)
|
@@ -1988,7 +1988,7 @@ module Impala
|
|
1988
1988
|
result = Grant_privileges_result.new()
|
1989
1989
|
begin
|
1990
1990
|
result.success = @handler.grant_privileges(args.privileges)
|
1991
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
1991
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
1992
1992
|
result.o1 = o1
|
1993
1993
|
end
|
1994
1994
|
write_result(result, oprot, 'grant_privileges', seqid)
|
@@ -1999,7 +1999,7 @@ module Impala
|
|
1999
1999
|
result = Revoke_privileges_result.new()
|
2000
2000
|
begin
|
2001
2001
|
result.success = @handler.revoke_privileges(args.privileges)
|
2002
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
2002
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
2003
2003
|
result.o1 = o1
|
2004
2004
|
end
|
2005
2005
|
write_result(result, oprot, 'revoke_privileges', seqid)
|
@@ -2010,7 +2010,7 @@ module Impala
|
|
2010
2010
|
result = Set_ugi_result.new()
|
2011
2011
|
begin
|
2012
2012
|
result.success = @handler.set_ugi(args.user_name, args.group_names)
|
2013
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
2013
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
2014
2014
|
result.o1 = o1
|
2015
2015
|
end
|
2016
2016
|
write_result(result, oprot, 'set_ugi', seqid)
|
@@ -2021,7 +2021,7 @@ module Impala
|
|
2021
2021
|
result = Get_delegation_token_result.new()
|
2022
2022
|
begin
|
2023
2023
|
result.success = @handler.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name)
|
2024
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
2024
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
2025
2025
|
result.o1 = o1
|
2026
2026
|
end
|
2027
2027
|
write_result(result, oprot, 'get_delegation_token', seqid)
|
@@ -2032,7 +2032,7 @@ module Impala
|
|
2032
2032
|
result = Renew_delegation_token_result.new()
|
2033
2033
|
begin
|
2034
2034
|
result.success = @handler.renew_delegation_token(args.token_str_form)
|
2035
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
2035
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
2036
2036
|
result.o1 = o1
|
2037
2037
|
end
|
2038
2038
|
write_result(result, oprot, 'renew_delegation_token', seqid)
|
@@ -2043,7 +2043,7 @@ module Impala
|
|
2043
2043
|
result = Cancel_delegation_token_result.new()
|
2044
2044
|
begin
|
2045
2045
|
@handler.cancel_delegation_token(args.token_str_form)
|
2046
|
-
rescue Impala::Protocol::HiveMetastore::MetaException => o1
|
2046
|
+
rescue ::Impala::Protocol::HiveMetastore::MetaException => o1
|
2047
2047
|
result.o1 = o1
|
2048
2048
|
end
|
2049
2049
|
write_result(result, oprot, 'cancel_delegation_token', seqid)
|
@@ -2058,7 +2058,7 @@ module Impala
|
|
2058
2058
|
DATABASE = 1
|
2059
2059
|
|
2060
2060
|
FIELDS = {
|
2061
|
-
|
2061
|
+
DATABASE => {:type => ::Thrift::Types::STRUCT, :name => 'database', :class => ::Impala::Protocol::HiveMetastore::Database}
|
2062
2062
|
}
|
2063
2063
|
|
2064
2064
|
def struct_fields; FIELDS; end
|
@@ -2076,9 +2076,9 @@ module Impala
|
|
2076
2076
|
O3 = 3
|
2077
2077
|
|
2078
2078
|
FIELDS = {
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2079
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2080
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2081
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2082
2082
|
}
|
2083
2083
|
|
2084
2084
|
def struct_fields; FIELDS; end
|
@@ -2094,7 +2094,7 @@ module Impala
|
|
2094
2094
|
NAME = 1
|
2095
2095
|
|
2096
2096
|
FIELDS = {
|
2097
|
-
|
2097
|
+
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
|
2098
2098
|
}
|
2099
2099
|
|
2100
2100
|
def struct_fields; FIELDS; end
|
@@ -2112,9 +2112,9 @@ module Impala
|
|
2112
2112
|
O2 = 2
|
2113
2113
|
|
2114
2114
|
FIELDS = {
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2115
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Database},
|
2116
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
2117
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2118
2118
|
}
|
2119
2119
|
|
2120
2120
|
def struct_fields; FIELDS; end
|
@@ -2132,9 +2132,9 @@ module Impala
|
|
2132
2132
|
CASCADE = 3
|
2133
2133
|
|
2134
2134
|
FIELDS = {
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
2135
|
+
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
|
2136
|
+
DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'},
|
2137
|
+
CASCADE => {:type => ::Thrift::Types::BOOL, :name => 'cascade'}
|
2138
2138
|
}
|
2139
2139
|
|
2140
2140
|
def struct_fields; FIELDS; end
|
@@ -2152,9 +2152,9 @@ module Impala
|
|
2152
2152
|
O3 = 3
|
2153
2153
|
|
2154
2154
|
FIELDS = {
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2155
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
2156
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
2157
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2158
2158
|
}
|
2159
2159
|
|
2160
2160
|
def struct_fields; FIELDS; end
|
@@ -2170,7 +2170,7 @@ module Impala
|
|
2170
2170
|
PATTERN = 1
|
2171
2171
|
|
2172
2172
|
FIELDS = {
|
2173
|
-
|
2173
|
+
PATTERN => {:type => ::Thrift::Types::STRING, :name => 'pattern'}
|
2174
2174
|
}
|
2175
2175
|
|
2176
2176
|
def struct_fields; FIELDS; end
|
@@ -2187,8 +2187,8 @@ module Impala
|
|
2187
2187
|
O1 = 1
|
2188
2188
|
|
2189
2189
|
FIELDS = {
|
2190
|
-
|
2191
|
-
|
2190
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
2191
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2192
2192
|
}
|
2193
2193
|
|
2194
2194
|
def struct_fields; FIELDS; end
|
@@ -2220,8 +2220,8 @@ module Impala
|
|
2220
2220
|
O1 = 1
|
2221
2221
|
|
2222
2222
|
FIELDS = {
|
2223
|
-
|
2224
|
-
|
2223
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
2224
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2225
2225
|
}
|
2226
2226
|
|
2227
2227
|
def struct_fields; FIELDS; end
|
@@ -2238,8 +2238,8 @@ module Impala
|
|
2238
2238
|
DB = 2
|
2239
2239
|
|
2240
2240
|
FIELDS = {
|
2241
|
-
|
2242
|
-
|
2241
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2242
|
+
DB => {:type => ::Thrift::Types::STRUCT, :name => 'db', :class => ::Impala::Protocol::HiveMetastore::Database}
|
2243
2243
|
}
|
2244
2244
|
|
2245
2245
|
def struct_fields; FIELDS; end
|
@@ -2256,8 +2256,8 @@ module Impala
|
|
2256
2256
|
O2 = 2
|
2257
2257
|
|
2258
2258
|
FIELDS = {
|
2259
|
-
|
2260
|
-
|
2259
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2260
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
2261
2261
|
}
|
2262
2262
|
|
2263
2263
|
def struct_fields; FIELDS; end
|
@@ -2273,7 +2273,7 @@ module Impala
|
|
2273
2273
|
NAME = 1
|
2274
2274
|
|
2275
2275
|
FIELDS = {
|
2276
|
-
|
2276
|
+
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
|
2277
2277
|
}
|
2278
2278
|
|
2279
2279
|
def struct_fields; FIELDS; end
|
@@ -2291,9 +2291,9 @@ module Impala
|
|
2291
2291
|
O2 = 2
|
2292
2292
|
|
2293
2293
|
FIELDS = {
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2294
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Type},
|
2295
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2296
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
2297
2297
|
}
|
2298
2298
|
|
2299
2299
|
def struct_fields; FIELDS; end
|
@@ -2309,7 +2309,7 @@ module Impala
|
|
2309
2309
|
TYPE = 1
|
2310
2310
|
|
2311
2311
|
FIELDS = {
|
2312
|
-
|
2312
|
+
TYPE => {:type => ::Thrift::Types::STRUCT, :name => 'type', :class => ::Impala::Protocol::HiveMetastore::Type}
|
2313
2313
|
}
|
2314
2314
|
|
2315
2315
|
def struct_fields; FIELDS; end
|
@@ -2328,10 +2328,10 @@ module Impala
|
|
2328
2328
|
O3 = 3
|
2329
2329
|
|
2330
2330
|
FIELDS = {
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2331
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
2332
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2333
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2334
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2335
2335
|
}
|
2336
2336
|
|
2337
2337
|
def struct_fields; FIELDS; end
|
@@ -2347,7 +2347,7 @@ module Impala
|
|
2347
2347
|
TYPE = 1
|
2348
2348
|
|
2349
2349
|
FIELDS = {
|
2350
|
-
|
2350
|
+
TYPE => {:type => ::Thrift::Types::STRING, :name => 'type'}
|
2351
2351
|
}
|
2352
2352
|
|
2353
2353
|
def struct_fields; FIELDS; end
|
@@ -2365,9 +2365,9 @@ module Impala
|
|
2365
2365
|
O2 = 2
|
2366
2366
|
|
2367
2367
|
FIELDS = {
|
2368
|
-
|
2369
|
-
|
2370
|
-
|
2368
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
2369
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2370
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
2371
2371
|
}
|
2372
2372
|
|
2373
2373
|
def struct_fields; FIELDS; end
|
@@ -2383,7 +2383,7 @@ module Impala
|
|
2383
2383
|
NAME = 1
|
2384
2384
|
|
2385
2385
|
FIELDS = {
|
2386
|
-
|
2386
|
+
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}
|
2387
2387
|
}
|
2388
2388
|
|
2389
2389
|
def struct_fields; FIELDS; end
|
@@ -2400,8 +2400,8 @@ module Impala
|
|
2400
2400
|
O2 = 1
|
2401
2401
|
|
2402
2402
|
FIELDS = {
|
2403
|
-
|
2404
|
-
|
2403
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Type}},
|
2404
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2405
2405
|
}
|
2406
2406
|
|
2407
2407
|
def struct_fields; FIELDS; end
|
@@ -2418,8 +2418,8 @@ module Impala
|
|
2418
2418
|
TABLE_NAME = 2
|
2419
2419
|
|
2420
2420
|
FIELDS = {
|
2421
|
-
|
2422
|
-
|
2421
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
2422
|
+
TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
|
2423
2423
|
}
|
2424
2424
|
|
2425
2425
|
def struct_fields; FIELDS; end
|
@@ -2438,10 +2438,10 @@ module Impala
|
|
2438
2438
|
O3 = 3
|
2439
2439
|
|
2440
2440
|
FIELDS = {
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2441
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
|
2442
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2443
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
|
2444
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
|
2445
2445
|
}
|
2446
2446
|
|
2447
2447
|
def struct_fields; FIELDS; end
|
@@ -2458,8 +2458,8 @@ module Impala
|
|
2458
2458
|
TABLE_NAME = 2
|
2459
2459
|
|
2460
2460
|
FIELDS = {
|
2461
|
-
|
2462
|
-
|
2461
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
2462
|
+
TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}
|
2463
2463
|
}
|
2464
2464
|
|
2465
2465
|
def struct_fields; FIELDS; end
|
@@ -2478,10 +2478,10 @@ module Impala
|
|
2478
2478
|
O3 = 3
|
2479
2479
|
|
2480
2480
|
FIELDS = {
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2481
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
|
2482
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2483
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
|
2484
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
|
2485
2485
|
}
|
2486
2486
|
|
2487
2487
|
def struct_fields; FIELDS; end
|
@@ -2497,7 +2497,7 @@ module Impala
|
|
2497
2497
|
TBL = 1
|
2498
2498
|
|
2499
2499
|
FIELDS = {
|
2500
|
-
|
2500
|
+
TBL => {:type => ::Thrift::Types::STRUCT, :name => 'tbl', :class => ::Impala::Protocol::HiveMetastore::Table}
|
2501
2501
|
}
|
2502
2502
|
|
2503
2503
|
def struct_fields; FIELDS; end
|
@@ -2516,10 +2516,10 @@ module Impala
|
|
2516
2516
|
O4 = 4
|
2517
2517
|
|
2518
2518
|
FIELDS = {
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2519
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2520
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2521
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2522
|
+
O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
2523
2523
|
}
|
2524
2524
|
|
2525
2525
|
def struct_fields; FIELDS; end
|
@@ -2536,8 +2536,8 @@ module Impala
|
|
2536
2536
|
ENVIRONMENT_CONTEXT = 2
|
2537
2537
|
|
2538
2538
|
FIELDS = {
|
2539
|
-
|
2540
|
-
|
2539
|
+
TBL => {:type => ::Thrift::Types::STRUCT, :name => 'tbl', :class => ::Impala::Protocol::HiveMetastore::Table},
|
2540
|
+
ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
|
2541
2541
|
}
|
2542
2542
|
|
2543
2543
|
def struct_fields; FIELDS; end
|
@@ -2556,10 +2556,10 @@ module Impala
|
|
2556
2556
|
O4 = 4
|
2557
2557
|
|
2558
2558
|
FIELDS = {
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2562
|
-
|
2559
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2560
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2561
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2562
|
+
O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
2563
2563
|
}
|
2564
2564
|
|
2565
2565
|
def struct_fields; FIELDS; end
|
@@ -2577,9 +2577,9 @@ module Impala
|
|
2577
2577
|
DELETEDATA = 3
|
2578
2578
|
|
2579
2579
|
FIELDS = {
|
2580
|
-
|
2581
|
-
|
2582
|
-
|
2580
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2581
|
+
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
|
2582
|
+
DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
|
2583
2583
|
}
|
2584
2584
|
|
2585
2585
|
def struct_fields; FIELDS; end
|
@@ -2596,8 +2596,8 @@ module Impala
|
|
2596
2596
|
O3 = 2
|
2597
2597
|
|
2598
2598
|
FIELDS = {
|
2599
|
-
|
2600
|
-
|
2599
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
2600
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2601
2601
|
}
|
2602
2602
|
|
2603
2603
|
def struct_fields; FIELDS; end
|
@@ -2614,8 +2614,8 @@ module Impala
|
|
2614
2614
|
PATTERN = 2
|
2615
2615
|
|
2616
2616
|
FIELDS = {
|
2617
|
-
|
2618
|
-
|
2617
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
2618
|
+
PATTERN => {:type => ::Thrift::Types::STRING, :name => 'pattern'}
|
2619
2619
|
}
|
2620
2620
|
|
2621
2621
|
def struct_fields; FIELDS; end
|
@@ -2632,8 +2632,8 @@ module Impala
|
|
2632
2632
|
O1 = 1
|
2633
2633
|
|
2634
2634
|
FIELDS = {
|
2635
|
-
|
2636
|
-
|
2635
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
2636
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2637
2637
|
}
|
2638
2638
|
|
2639
2639
|
def struct_fields; FIELDS; end
|
@@ -2649,7 +2649,7 @@ module Impala
|
|
2649
2649
|
DB_NAME = 1
|
2650
2650
|
|
2651
2651
|
FIELDS = {
|
2652
|
-
|
2652
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'}
|
2653
2653
|
}
|
2654
2654
|
|
2655
2655
|
def struct_fields; FIELDS; end
|
@@ -2666,8 +2666,8 @@ module Impala
|
|
2666
2666
|
O1 = 1
|
2667
2667
|
|
2668
2668
|
FIELDS = {
|
2669
|
-
|
2670
|
-
|
2669
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
2670
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2671
2671
|
}
|
2672
2672
|
|
2673
2673
|
def struct_fields; FIELDS; end
|
@@ -2684,8 +2684,8 @@ module Impala
|
|
2684
2684
|
TBL_NAME = 2
|
2685
2685
|
|
2686
2686
|
FIELDS = {
|
2687
|
-
|
2688
|
-
|
2687
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2688
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'}
|
2689
2689
|
}
|
2690
2690
|
|
2691
2691
|
def struct_fields; FIELDS; end
|
@@ -2703,9 +2703,9 @@ module Impala
|
|
2703
2703
|
O2 = 2
|
2704
2704
|
|
2705
2705
|
FIELDS = {
|
2706
|
-
|
2707
|
-
|
2708
|
-
|
2706
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Table},
|
2707
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2708
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
2709
2709
|
}
|
2710
2710
|
|
2711
2711
|
def struct_fields; FIELDS; end
|
@@ -2722,8 +2722,8 @@ module Impala
|
|
2722
2722
|
TBL_NAMES = 2
|
2723
2723
|
|
2724
2724
|
FIELDS = {
|
2725
|
-
|
2726
|
-
|
2725
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2726
|
+
TBL_NAMES => {:type => ::Thrift::Types::LIST, :name => 'tbl_names', :element => {:type => ::Thrift::Types::STRING}}
|
2727
2727
|
}
|
2728
2728
|
|
2729
2729
|
def struct_fields; FIELDS; end
|
@@ -2742,10 +2742,10 @@ module Impala
|
|
2742
2742
|
O3 = 3
|
2743
2743
|
|
2744
2744
|
FIELDS = {
|
2745
|
-
|
2746
|
-
|
2747
|
-
|
2748
|
-
|
2745
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Table}},
|
2746
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2747
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
2748
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
|
2749
2749
|
}
|
2750
2750
|
|
2751
2751
|
def struct_fields; FIELDS; end
|
@@ -2763,9 +2763,9 @@ module Impala
|
|
2763
2763
|
MAX_TABLES = 3
|
2764
2764
|
|
2765
2765
|
FIELDS = {
|
2766
|
-
|
2767
|
-
|
2768
|
-
|
2766
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2767
|
+
FILTER => {:type => ::Thrift::Types::STRING, :name => 'filter'},
|
2768
|
+
MAX_TABLES => {:type => ::Thrift::Types::I16, :name => 'max_tables', :default => -1}
|
2769
2769
|
}
|
2770
2770
|
|
2771
2771
|
def struct_fields; FIELDS; end
|
@@ -2784,10 +2784,10 @@ module Impala
|
|
2784
2784
|
O3 = 3
|
2785
2785
|
|
2786
2786
|
FIELDS = {
|
2787
|
-
|
2788
|
-
|
2789
|
-
|
2790
|
-
|
2787
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
2788
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
2789
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
2790
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException}
|
2791
2791
|
}
|
2792
2792
|
|
2793
2793
|
def struct_fields; FIELDS; end
|
@@ -2805,9 +2805,9 @@ module Impala
|
|
2805
2805
|
NEW_TBL = 3
|
2806
2806
|
|
2807
2807
|
FIELDS = {
|
2808
|
-
|
2809
|
-
|
2810
|
-
|
2808
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2809
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
2810
|
+
NEW_TBL => {:type => ::Thrift::Types::STRUCT, :name => 'new_tbl', :class => ::Impala::Protocol::HiveMetastore::Table}
|
2811
2811
|
}
|
2812
2812
|
|
2813
2813
|
def struct_fields; FIELDS; end
|
@@ -2824,8 +2824,8 @@ module Impala
|
|
2824
2824
|
O2 = 2
|
2825
2825
|
|
2826
2826
|
FIELDS = {
|
2827
|
-
|
2828
|
-
|
2827
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
2828
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2829
2829
|
}
|
2830
2830
|
|
2831
2831
|
def struct_fields; FIELDS; end
|
@@ -2844,10 +2844,10 @@ module Impala
|
|
2844
2844
|
ENVIRONMENT_CONTEXT = 4
|
2845
2845
|
|
2846
2846
|
FIELDS = {
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2847
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
2848
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
2849
|
+
NEW_TBL => {:type => ::Thrift::Types::STRUCT, :name => 'new_tbl', :class => ::Impala::Protocol::HiveMetastore::Table},
|
2850
|
+
ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
|
2851
2851
|
}
|
2852
2852
|
|
2853
2853
|
def struct_fields; FIELDS; end
|
@@ -2864,8 +2864,8 @@ module Impala
|
|
2864
2864
|
O2 = 2
|
2865
2865
|
|
2866
2866
|
FIELDS = {
|
2867
|
-
|
2868
|
-
|
2867
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
2868
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2869
2869
|
}
|
2870
2870
|
|
2871
2871
|
def struct_fields; FIELDS; end
|
@@ -2881,7 +2881,7 @@ module Impala
|
|
2881
2881
|
NEW_PART = 1
|
2882
2882
|
|
2883
2883
|
FIELDS = {
|
2884
|
-
|
2884
|
+
NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition}
|
2885
2885
|
}
|
2886
2886
|
|
2887
2887
|
def struct_fields; FIELDS; end
|
@@ -2900,10 +2900,10 @@ module Impala
|
|
2900
2900
|
O3 = 3
|
2901
2901
|
|
2902
2902
|
FIELDS = {
|
2903
|
-
|
2904
|
-
|
2905
|
-
|
2906
|
-
|
2903
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
2904
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2905
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2906
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2907
2907
|
}
|
2908
2908
|
|
2909
2909
|
def struct_fields; FIELDS; end
|
@@ -2920,8 +2920,8 @@ module Impala
|
|
2920
2920
|
ENVIRONMENT_CONTEXT = 2
|
2921
2921
|
|
2922
2922
|
FIELDS = {
|
2923
|
-
|
2924
|
-
|
2923
|
+
NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
2924
|
+
ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
|
2925
2925
|
}
|
2926
2926
|
|
2927
2927
|
def struct_fields; FIELDS; end
|
@@ -2940,10 +2940,10 @@ module Impala
|
|
2940
2940
|
O3 = 3
|
2941
2941
|
|
2942
2942
|
FIELDS = {
|
2943
|
-
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2943
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
2944
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2945
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2946
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2947
2947
|
}
|
2948
2948
|
|
2949
2949
|
def struct_fields; FIELDS; end
|
@@ -2959,7 +2959,7 @@ module Impala
|
|
2959
2959
|
NEW_PARTS = 1
|
2960
2960
|
|
2961
2961
|
FIELDS = {
|
2962
|
-
|
2962
|
+
NEW_PARTS => {:type => ::Thrift::Types::LIST, :name => 'new_parts', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}}
|
2963
2963
|
}
|
2964
2964
|
|
2965
2965
|
def struct_fields; FIELDS; end
|
@@ -2978,10 +2978,10 @@ module Impala
|
|
2978
2978
|
O3 = 3
|
2979
2979
|
|
2980
2980
|
FIELDS = {
|
2981
|
-
|
2982
|
-
|
2983
|
-
|
2984
|
-
|
2981
|
+
SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'},
|
2982
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
2983
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
2984
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
2985
2985
|
}
|
2986
2986
|
|
2987
2987
|
def struct_fields; FIELDS; end
|
@@ -2999,9 +2999,9 @@ module Impala
|
|
2999
2999
|
PART_VALS = 3
|
3000
3000
|
|
3001
3001
|
FIELDS = {
|
3002
|
-
|
3003
|
-
|
3004
|
-
|
3002
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3003
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3004
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}}
|
3005
3005
|
}
|
3006
3006
|
|
3007
3007
|
def struct_fields; FIELDS; end
|
@@ -3020,10 +3020,10 @@ module Impala
|
|
3020
3020
|
O3 = 3
|
3021
3021
|
|
3022
3022
|
FIELDS = {
|
3023
|
-
|
3024
|
-
|
3025
|
-
|
3026
|
-
|
3023
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
3024
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
3025
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
3026
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3027
3027
|
}
|
3028
3028
|
|
3029
3029
|
def struct_fields; FIELDS; end
|
@@ -3041,9 +3041,9 @@ module Impala
|
|
3041
3041
|
PART_NAME = 3
|
3042
3042
|
|
3043
3043
|
FIELDS = {
|
3044
|
-
|
3045
|
-
|
3046
|
-
|
3044
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3045
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3046
|
+
PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
|
3047
3047
|
}
|
3048
3048
|
|
3049
3049
|
def struct_fields; FIELDS; end
|
@@ -3062,10 +3062,10 @@ module Impala
|
|
3062
3062
|
O3 = 3
|
3063
3063
|
|
3064
3064
|
FIELDS = {
|
3065
|
-
|
3066
|
-
|
3067
|
-
|
3068
|
-
|
3065
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
3066
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
3067
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
3068
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3069
3069
|
}
|
3070
3070
|
|
3071
3071
|
def struct_fields; FIELDS; end
|
@@ -3084,10 +3084,10 @@ module Impala
|
|
3084
3084
|
DELETEDATA = 4
|
3085
3085
|
|
3086
3086
|
FIELDS = {
|
3087
|
-
|
3088
|
-
|
3089
|
-
|
3090
|
-
|
3087
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3088
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3089
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
|
3090
|
+
DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
|
3091
3091
|
}
|
3092
3092
|
|
3093
3093
|
def struct_fields; FIELDS; end
|
@@ -3105,9 +3105,9 @@ module Impala
|
|
3105
3105
|
O2 = 2
|
3106
3106
|
|
3107
3107
|
FIELDS = {
|
3108
|
-
|
3109
|
-
|
3110
|
-
|
3108
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
3109
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3110
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3111
3111
|
}
|
3112
3112
|
|
3113
3113
|
def struct_fields; FIELDS; end
|
@@ -3126,10 +3126,10 @@ module Impala
|
|
3126
3126
|
DELETEDATA = 4
|
3127
3127
|
|
3128
3128
|
FIELDS = {
|
3129
|
-
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3129
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3130
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3131
|
+
PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'},
|
3132
|
+
DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
|
3133
3133
|
}
|
3134
3134
|
|
3135
3135
|
def struct_fields; FIELDS; end
|
@@ -3147,9 +3147,9 @@ module Impala
|
|
3147
3147
|
O2 = 2
|
3148
3148
|
|
3149
3149
|
FIELDS = {
|
3150
|
-
|
3151
|
-
|
3152
|
-
|
3150
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
3151
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3152
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3153
3153
|
}
|
3154
3154
|
|
3155
3155
|
def struct_fields; FIELDS; end
|
@@ -3167,9 +3167,9 @@ module Impala
|
|
3167
3167
|
PART_VALS = 3
|
3168
3168
|
|
3169
3169
|
FIELDS = {
|
3170
|
-
|
3171
|
-
|
3172
|
-
|
3170
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3171
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3172
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}}
|
3173
3173
|
}
|
3174
3174
|
|
3175
3175
|
def struct_fields; FIELDS; end
|
@@ -3187,9 +3187,9 @@ module Impala
|
|
3187
3187
|
O2 = 2
|
3188
3188
|
|
3189
3189
|
FIELDS = {
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3190
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
3191
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3192
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3193
3193
|
}
|
3194
3194
|
|
3195
3195
|
def struct_fields; FIELDS; end
|
@@ -3209,11 +3209,11 @@ module Impala
|
|
3209
3209
|
GROUP_NAMES = 5
|
3210
3210
|
|
3211
3211
|
FIELDS = {
|
3212
|
-
|
3213
|
-
|
3214
|
-
|
3215
|
-
|
3216
|
-
|
3212
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3213
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3214
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
|
3215
|
+
USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
|
3216
|
+
GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
|
3217
3217
|
}
|
3218
3218
|
|
3219
3219
|
def struct_fields; FIELDS; end
|
@@ -3231,9 +3231,9 @@ module Impala
|
|
3231
3231
|
O2 = 2
|
3232
3232
|
|
3233
3233
|
FIELDS = {
|
3234
|
-
|
3235
|
-
|
3236
|
-
|
3234
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
3235
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3236
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3237
3237
|
}
|
3238
3238
|
|
3239
3239
|
def struct_fields; FIELDS; end
|
@@ -3251,9 +3251,9 @@ module Impala
|
|
3251
3251
|
PART_NAME = 3
|
3252
3252
|
|
3253
3253
|
FIELDS = {
|
3254
|
-
|
3255
|
-
|
3256
|
-
|
3254
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3255
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3256
|
+
PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
|
3257
3257
|
}
|
3258
3258
|
|
3259
3259
|
def struct_fields; FIELDS; end
|
@@ -3271,9 +3271,9 @@ module Impala
|
|
3271
3271
|
O2 = 2
|
3272
3272
|
|
3273
3273
|
FIELDS = {
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3274
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
3275
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3276
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3277
3277
|
}
|
3278
3278
|
|
3279
3279
|
def struct_fields; FIELDS; end
|
@@ -3291,9 +3291,9 @@ module Impala
|
|
3291
3291
|
MAX_PARTS = 3
|
3292
3292
|
|
3293
3293
|
FIELDS = {
|
3294
|
-
|
3295
|
-
|
3296
|
-
|
3294
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3295
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3296
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
|
3297
3297
|
}
|
3298
3298
|
|
3299
3299
|
def struct_fields; FIELDS; end
|
@@ -3311,9 +3311,9 @@ module Impala
|
|
3311
3311
|
O2 = 2
|
3312
3312
|
|
3313
3313
|
FIELDS = {
|
3314
|
-
|
3315
|
-
|
3316
|
-
|
3314
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
|
3315
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3316
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3317
3317
|
}
|
3318
3318
|
|
3319
3319
|
def struct_fields; FIELDS; end
|
@@ -3333,11 +3333,11 @@ module Impala
|
|
3333
3333
|
GROUP_NAMES = 5
|
3334
3334
|
|
3335
3335
|
FIELDS = {
|
3336
|
-
|
3337
|
-
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3336
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3337
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3338
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1},
|
3339
|
+
USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
|
3340
|
+
GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
|
3341
3341
|
}
|
3342
3342
|
|
3343
3343
|
def struct_fields; FIELDS; end
|
@@ -3355,9 +3355,9 @@ module Impala
|
|
3355
3355
|
O2 = 2
|
3356
3356
|
|
3357
3357
|
FIELDS = {
|
3358
|
-
|
3359
|
-
|
3360
|
-
|
3358
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
|
3359
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3360
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3361
3361
|
}
|
3362
3362
|
|
3363
3363
|
def struct_fields; FIELDS; end
|
@@ -3375,9 +3375,9 @@ module Impala
|
|
3375
3375
|
MAX_PARTS = 3
|
3376
3376
|
|
3377
3377
|
FIELDS = {
|
3378
|
-
|
3379
|
-
|
3380
|
-
|
3378
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3379
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3380
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
|
3381
3381
|
}
|
3382
3382
|
|
3383
3383
|
def struct_fields; FIELDS; end
|
@@ -3394,8 +3394,8 @@ module Impala
|
|
3394
3394
|
O2 = 1
|
3395
3395
|
|
3396
3396
|
FIELDS = {
|
3397
|
-
|
3398
|
-
|
3397
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
3398
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3399
3399
|
}
|
3400
3400
|
|
3401
3401
|
def struct_fields; FIELDS; end
|
@@ -3414,10 +3414,10 @@ module Impala
|
|
3414
3414
|
MAX_PARTS = 4
|
3415
3415
|
|
3416
3416
|
FIELDS = {
|
3417
|
-
|
3418
|
-
|
3419
|
-
|
3420
|
-
|
3417
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3418
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3419
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
|
3420
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
|
3421
3421
|
}
|
3422
3422
|
|
3423
3423
|
def struct_fields; FIELDS; end
|
@@ -3435,9 +3435,9 @@ module Impala
|
|
3435
3435
|
O2 = 2
|
3436
3436
|
|
3437
3437
|
FIELDS = {
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3438
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
|
3439
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3440
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3441
3441
|
}
|
3442
3442
|
|
3443
3443
|
def struct_fields; FIELDS; end
|
@@ -3458,12 +3458,12 @@ module Impala
|
|
3458
3458
|
GROUP_NAMES = 6
|
3459
3459
|
|
3460
3460
|
FIELDS = {
|
3461
|
-
|
3462
|
-
|
3463
|
-
|
3464
|
-
|
3465
|
-
|
3466
|
-
|
3461
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3462
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3463
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
|
3464
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1},
|
3465
|
+
USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
|
3466
|
+
GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
|
3467
3467
|
}
|
3468
3468
|
|
3469
3469
|
def struct_fields; FIELDS; end
|
@@ -3481,9 +3481,9 @@ module Impala
|
|
3481
3481
|
O2 = 2
|
3482
3482
|
|
3483
3483
|
FIELDS = {
|
3484
|
-
|
3485
|
-
|
3486
|
-
|
3484
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
|
3485
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3486
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3487
3487
|
}
|
3488
3488
|
|
3489
3489
|
def struct_fields; FIELDS; end
|
@@ -3502,10 +3502,10 @@ module Impala
|
|
3502
3502
|
MAX_PARTS = 4
|
3503
3503
|
|
3504
3504
|
FIELDS = {
|
3505
|
-
|
3506
|
-
|
3507
|
-
|
3508
|
-
|
3505
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3506
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3507
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
|
3508
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
|
3509
3509
|
}
|
3510
3510
|
|
3511
3511
|
def struct_fields; FIELDS; end
|
@@ -3523,9 +3523,9 @@ module Impala
|
|
3523
3523
|
O2 = 2
|
3524
3524
|
|
3525
3525
|
FIELDS = {
|
3526
|
-
|
3527
|
-
|
3528
|
-
|
3526
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
3527
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3528
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3529
3529
|
}
|
3530
3530
|
|
3531
3531
|
def struct_fields; FIELDS; end
|
@@ -3544,10 +3544,10 @@ module Impala
|
|
3544
3544
|
MAX_PARTS = 4
|
3545
3545
|
|
3546
3546
|
FIELDS = {
|
3547
|
-
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3547
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3548
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3549
|
+
FILTER => {:type => ::Thrift::Types::STRING, :name => 'filter'},
|
3550
|
+
MAX_PARTS => {:type => ::Thrift::Types::I16, :name => 'max_parts', :default => -1}
|
3551
3551
|
}
|
3552
3552
|
|
3553
3553
|
def struct_fields; FIELDS; end
|
@@ -3565,9 +3565,9 @@ module Impala
|
|
3565
3565
|
O2 = 2
|
3566
3566
|
|
3567
3567
|
FIELDS = {
|
3568
|
-
|
3569
|
-
|
3570
|
-
|
3568
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
|
3569
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3570
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3571
3571
|
}
|
3572
3572
|
|
3573
3573
|
def struct_fields; FIELDS; end
|
@@ -3585,9 +3585,9 @@ module Impala
|
|
3585
3585
|
NAMES = 3
|
3586
3586
|
|
3587
3587
|
FIELDS = {
|
3588
|
-
|
3589
|
-
|
3590
|
-
|
3588
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3589
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3590
|
+
NAMES => {:type => ::Thrift::Types::LIST, :name => 'names', :element => {:type => ::Thrift::Types::STRING}}
|
3591
3591
|
}
|
3592
3592
|
|
3593
3593
|
def struct_fields; FIELDS; end
|
@@ -3605,9 +3605,9 @@ module Impala
|
|
3605
3605
|
O2 = 2
|
3606
3606
|
|
3607
3607
|
FIELDS = {
|
3608
|
-
|
3609
|
-
|
3610
|
-
|
3608
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Partition}},
|
3609
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3610
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
3611
3611
|
}
|
3612
3612
|
|
3613
3613
|
def struct_fields; FIELDS; end
|
@@ -3625,9 +3625,9 @@ module Impala
|
|
3625
3625
|
NEW_PART = 3
|
3626
3626
|
|
3627
3627
|
FIELDS = {
|
3628
|
-
|
3629
|
-
|
3630
|
-
|
3628
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3629
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3630
|
+
NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition}
|
3631
3631
|
}
|
3632
3632
|
|
3633
3633
|
def struct_fields; FIELDS; end
|
@@ -3644,8 +3644,8 @@ module Impala
|
|
3644
3644
|
O2 = 2
|
3645
3645
|
|
3646
3646
|
FIELDS = {
|
3647
|
-
|
3648
|
-
|
3647
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
3648
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3649
3649
|
}
|
3650
3650
|
|
3651
3651
|
def struct_fields; FIELDS; end
|
@@ -3664,10 +3664,10 @@ module Impala
|
|
3664
3664
|
ENVIRONMENT_CONTEXT = 4
|
3665
3665
|
|
3666
3666
|
FIELDS = {
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3667
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3668
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3669
|
+
NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition},
|
3670
|
+
ENVIRONMENT_CONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'environment_context', :class => ::Impala::Protocol::HiveMetastore::EnvironmentContext}
|
3671
3671
|
}
|
3672
3672
|
|
3673
3673
|
def struct_fields; FIELDS; end
|
@@ -3684,8 +3684,8 @@ module Impala
|
|
3684
3684
|
O2 = 2
|
3685
3685
|
|
3686
3686
|
FIELDS = {
|
3687
|
-
|
3688
|
-
|
3687
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
3688
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3689
3689
|
}
|
3690
3690
|
|
3691
3691
|
def struct_fields; FIELDS; end
|
@@ -3704,10 +3704,10 @@ module Impala
|
|
3704
3704
|
NEW_PART = 4
|
3705
3705
|
|
3706
3706
|
FIELDS = {
|
3707
|
-
|
3708
|
-
|
3709
|
-
|
3710
|
-
|
3707
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3708
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3709
|
+
PART_VALS => {:type => ::Thrift::Types::LIST, :name => 'part_vals', :element => {:type => ::Thrift::Types::STRING}},
|
3710
|
+
NEW_PART => {:type => ::Thrift::Types::STRUCT, :name => 'new_part', :class => ::Impala::Protocol::HiveMetastore::Partition}
|
3711
3711
|
}
|
3712
3712
|
|
3713
3713
|
def struct_fields; FIELDS; end
|
@@ -3724,8 +3724,8 @@ module Impala
|
|
3724
3724
|
O2 = 2
|
3725
3725
|
|
3726
3726
|
FIELDS = {
|
3727
|
-
|
3728
|
-
|
3727
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
3728
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3729
3729
|
}
|
3730
3730
|
|
3731
3731
|
def struct_fields; FIELDS; end
|
@@ -3742,8 +3742,8 @@ module Impala
|
|
3742
3742
|
DEFAULTVALUE = 2
|
3743
3743
|
|
3744
3744
|
FIELDS = {
|
3745
|
-
|
3746
|
-
|
3745
|
+
NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
|
3746
|
+
DEFAULTVALUE => {:type => ::Thrift::Types::STRING, :name => 'defaultValue'}
|
3747
3747
|
}
|
3748
3748
|
|
3749
3749
|
def struct_fields; FIELDS; end
|
@@ -3760,8 +3760,8 @@ module Impala
|
|
3760
3760
|
O1 = 1
|
3761
3761
|
|
3762
3762
|
FIELDS = {
|
3763
|
-
|
3764
|
-
|
3763
|
+
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
3764
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::ConfigValSecurityException}
|
3765
3765
|
}
|
3766
3766
|
|
3767
3767
|
def struct_fields; FIELDS; end
|
@@ -3777,7 +3777,7 @@ module Impala
|
|
3777
3777
|
PART_NAME = 1
|
3778
3778
|
|
3779
3779
|
FIELDS = {
|
3780
|
-
|
3780
|
+
PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
|
3781
3781
|
}
|
3782
3782
|
|
3783
3783
|
def struct_fields; FIELDS; end
|
@@ -3794,8 +3794,8 @@ module Impala
|
|
3794
3794
|
O1 = 1
|
3795
3795
|
|
3796
3796
|
FIELDS = {
|
3797
|
-
|
3798
|
-
|
3797
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
3798
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3799
3799
|
}
|
3800
3800
|
|
3801
3801
|
def struct_fields; FIELDS; end
|
@@ -3811,7 +3811,7 @@ module Impala
|
|
3811
3811
|
PART_NAME = 1
|
3812
3812
|
|
3813
3813
|
FIELDS = {
|
3814
|
-
|
3814
|
+
PART_NAME => {:type => ::Thrift::Types::STRING, :name => 'part_name'}
|
3815
3815
|
}
|
3816
3816
|
|
3817
3817
|
def struct_fields; FIELDS; end
|
@@ -3828,8 +3828,8 @@ module Impala
|
|
3828
3828
|
O1 = 1
|
3829
3829
|
|
3830
3830
|
FIELDS = {
|
3831
|
-
|
3832
|
-
|
3831
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
|
3832
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3833
3833
|
}
|
3834
3834
|
|
3835
3835
|
def struct_fields; FIELDS; end
|
@@ -3848,16 +3848,16 @@ module Impala
|
|
3848
3848
|
EVENTTYPE = 4
|
3849
3849
|
|
3850
3850
|
FIELDS = {
|
3851
|
-
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3851
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3852
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3853
|
+
PART_VALS => {:type => ::Thrift::Types::MAP, :name => 'part_vals', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
|
3854
|
+
EVENTTYPE => {:type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => ::Impala::Protocol::HiveMetastore::PartitionEventType}
|
3855
3855
|
}
|
3856
3856
|
|
3857
3857
|
def struct_fields; FIELDS; end
|
3858
3858
|
|
3859
3859
|
def validate
|
3860
|
-
unless @eventType.nil? || Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
|
3860
|
+
unless @eventType.nil? || ::Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
|
3861
3861
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field eventType!')
|
3862
3862
|
end
|
3863
3863
|
end
|
@@ -3875,12 +3875,12 @@ module Impala
|
|
3875
3875
|
O6 = 6
|
3876
3876
|
|
3877
3877
|
FIELDS = {
|
3878
|
-
|
3879
|
-
|
3880
|
-
|
3881
|
-
|
3882
|
-
|
3883
|
-
|
3878
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3879
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3880
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException},
|
3881
|
+
O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
|
3882
|
+
O5 => {:type => ::Thrift::Types::STRUCT, :name => 'o5', :class => ::Impala::Protocol::HiveMetastore::UnknownPartitionException},
|
3883
|
+
O6 => {:type => ::Thrift::Types::STRUCT, :name => 'o6', :class => ::Impala::Protocol::HiveMetastore::InvalidPartitionException}
|
3884
3884
|
}
|
3885
3885
|
|
3886
3886
|
def struct_fields; FIELDS; end
|
@@ -3899,16 +3899,16 @@ module Impala
|
|
3899
3899
|
EVENTTYPE = 4
|
3900
3900
|
|
3901
3901
|
FIELDS = {
|
3902
|
-
|
3903
|
-
|
3904
|
-
|
3905
|
-
|
3902
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
3903
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
3904
|
+
PART_VALS => {:type => ::Thrift::Types::MAP, :name => 'part_vals', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
|
3905
|
+
EVENTTYPE => {:type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => ::Impala::Protocol::HiveMetastore::PartitionEventType}
|
3906
3906
|
}
|
3907
3907
|
|
3908
3908
|
def struct_fields; FIELDS; end
|
3909
3909
|
|
3910
3910
|
def validate
|
3911
|
-
unless @eventType.nil? || Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
|
3911
|
+
unless @eventType.nil? || ::Impala::Protocol::HiveMetastore::PartitionEventType::VALID_VALUES.include?(@eventType)
|
3912
3912
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field eventType!')
|
3913
3913
|
end
|
3914
3914
|
end
|
@@ -3927,13 +3927,13 @@ module Impala
|
|
3927
3927
|
O6 = 6
|
3928
3928
|
|
3929
3929
|
FIELDS = {
|
3930
|
-
|
3931
|
-
|
3932
|
-
|
3933
|
-
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3930
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
3931
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
3932
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
3933
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::UnknownDBException},
|
3934
|
+
O4 => {:type => ::Thrift::Types::STRUCT, :name => 'o4', :class => ::Impala::Protocol::HiveMetastore::UnknownTableException},
|
3935
|
+
O5 => {:type => ::Thrift::Types::STRUCT, :name => 'o5', :class => ::Impala::Protocol::HiveMetastore::UnknownPartitionException},
|
3936
|
+
O6 => {:type => ::Thrift::Types::STRUCT, :name => 'o6', :class => ::Impala::Protocol::HiveMetastore::InvalidPartitionException}
|
3937
3937
|
}
|
3938
3938
|
|
3939
3939
|
def struct_fields; FIELDS; end
|
@@ -3950,8 +3950,8 @@ module Impala
|
|
3950
3950
|
INDEX_TABLE = 2
|
3951
3951
|
|
3952
3952
|
FIELDS = {
|
3953
|
-
|
3954
|
-
|
3953
|
+
NEW_INDEX => {:type => ::Thrift::Types::STRUCT, :name => 'new_index', :class => ::Impala::Protocol::HiveMetastore::Index},
|
3954
|
+
INDEX_TABLE => {:type => ::Thrift::Types::STRUCT, :name => 'index_table', :class => ::Impala::Protocol::HiveMetastore::Table}
|
3955
3955
|
}
|
3956
3956
|
|
3957
3957
|
def struct_fields; FIELDS; end
|
@@ -3970,10 +3970,10 @@ module Impala
|
|
3970
3970
|
O3 = 3
|
3971
3971
|
|
3972
3972
|
FIELDS = {
|
3973
|
-
|
3974
|
-
|
3975
|
-
|
3976
|
-
|
3973
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Index},
|
3974
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidObjectException},
|
3975
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::AlreadyExistsException},
|
3976
|
+
O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
3977
3977
|
}
|
3978
3978
|
|
3979
3979
|
def struct_fields; FIELDS; end
|
@@ -3992,10 +3992,10 @@ module Impala
|
|
3992
3992
|
NEW_IDX = 4
|
3993
3993
|
|
3994
3994
|
FIELDS = {
|
3995
|
-
|
3996
|
-
|
3997
|
-
|
3998
|
-
|
3995
|
+
DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'},
|
3996
|
+
BASE_TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'base_tbl_name'},
|
3997
|
+
IDX_NAME => {:type => ::Thrift::Types::STRING, :name => 'idx_name'},
|
3998
|
+
NEW_IDX => {:type => ::Thrift::Types::STRUCT, :name => 'new_idx', :class => ::Impala::Protocol::HiveMetastore::Index}
|
3999
3999
|
}
|
4000
4000
|
|
4001
4001
|
def struct_fields; FIELDS; end
|
@@ -4012,8 +4012,8 @@ module Impala
|
|
4012
4012
|
O2 = 2
|
4013
4013
|
|
4014
4014
|
FIELDS = {
|
4015
|
-
|
4016
|
-
|
4015
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::InvalidOperationException},
|
4016
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4017
4017
|
}
|
4018
4018
|
|
4019
4019
|
def struct_fields; FIELDS; end
|
@@ -4032,10 +4032,10 @@ module Impala
|
|
4032
4032
|
DELETEDATA = 4
|
4033
4033
|
|
4034
4034
|
FIELDS = {
|
4035
|
-
|
4036
|
-
|
4037
|
-
|
4038
|
-
|
4035
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
4036
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
4037
|
+
INDEX_NAME => {:type => ::Thrift::Types::STRING, :name => 'index_name'},
|
4038
|
+
DELETEDATA => {:type => ::Thrift::Types::BOOL, :name => 'deleteData'}
|
4039
4039
|
}
|
4040
4040
|
|
4041
4041
|
def struct_fields; FIELDS; end
|
@@ -4053,9 +4053,9 @@ module Impala
|
|
4053
4053
|
O2 = 2
|
4054
4054
|
|
4055
4055
|
FIELDS = {
|
4056
|
-
|
4057
|
-
|
4058
|
-
|
4056
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4057
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
4058
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4059
4059
|
}
|
4060
4060
|
|
4061
4061
|
def struct_fields; FIELDS; end
|
@@ -4073,9 +4073,9 @@ module Impala
|
|
4073
4073
|
INDEX_NAME = 3
|
4074
4074
|
|
4075
4075
|
FIELDS = {
|
4076
|
-
|
4077
|
-
|
4078
|
-
|
4076
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
4077
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
4078
|
+
INDEX_NAME => {:type => ::Thrift::Types::STRING, :name => 'index_name'}
|
4079
4079
|
}
|
4080
4080
|
|
4081
4081
|
def struct_fields; FIELDS; end
|
@@ -4093,9 +4093,9 @@ module Impala
|
|
4093
4093
|
O2 = 2
|
4094
4094
|
|
4095
4095
|
FIELDS = {
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4096
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::Index},
|
4097
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException},
|
4098
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException}
|
4099
4099
|
}
|
4100
4100
|
|
4101
4101
|
def struct_fields; FIELDS; end
|
@@ -4113,9 +4113,9 @@ module Impala
|
|
4113
4113
|
MAX_INDEXES = 3
|
4114
4114
|
|
4115
4115
|
FIELDS = {
|
4116
|
-
|
4117
|
-
|
4118
|
-
|
4116
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
4117
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
4118
|
+
MAX_INDEXES => {:type => ::Thrift::Types::I16, :name => 'max_indexes', :default => -1}
|
4119
4119
|
}
|
4120
4120
|
|
4121
4121
|
def struct_fields; FIELDS; end
|
@@ -4133,9 +4133,9 @@ module Impala
|
|
4133
4133
|
O2 = 2
|
4134
4134
|
|
4135
4135
|
FIELDS = {
|
4136
|
-
|
4137
|
-
|
4138
|
-
|
4136
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Index}},
|
4137
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::NoSuchObjectException},
|
4138
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4139
4139
|
}
|
4140
4140
|
|
4141
4141
|
def struct_fields; FIELDS; end
|
@@ -4153,9 +4153,9 @@ module Impala
|
|
4153
4153
|
MAX_INDEXES = 3
|
4154
4154
|
|
4155
4155
|
FIELDS = {
|
4156
|
-
|
4157
|
-
|
4158
|
-
|
4156
|
+
DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'},
|
4157
|
+
TBL_NAME => {:type => ::Thrift::Types::STRING, :name => 'tbl_name'},
|
4158
|
+
MAX_INDEXES => {:type => ::Thrift::Types::I16, :name => 'max_indexes', :default => -1}
|
4159
4159
|
}
|
4160
4160
|
|
4161
4161
|
def struct_fields; FIELDS; end
|
@@ -4172,8 +4172,8 @@ module Impala
|
|
4172
4172
|
O2 = 1
|
4173
4173
|
|
4174
4174
|
FIELDS = {
|
4175
|
-
|
4176
|
-
|
4175
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
4176
|
+
O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4177
4177
|
}
|
4178
4178
|
|
4179
4179
|
def struct_fields; FIELDS; end
|
@@ -4189,7 +4189,7 @@ module Impala
|
|
4189
4189
|
ROLE = 1
|
4190
4190
|
|
4191
4191
|
FIELDS = {
|
4192
|
-
|
4192
|
+
ROLE => {:type => ::Thrift::Types::STRUCT, :name => 'role', :class => ::Impala::Protocol::HiveMetastore::Role}
|
4193
4193
|
}
|
4194
4194
|
|
4195
4195
|
def struct_fields; FIELDS; end
|
@@ -4206,8 +4206,8 @@ module Impala
|
|
4206
4206
|
O1 = 1
|
4207
4207
|
|
4208
4208
|
FIELDS = {
|
4209
|
-
|
4210
|
-
|
4209
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4210
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4211
4211
|
}
|
4212
4212
|
|
4213
4213
|
def struct_fields; FIELDS; end
|
@@ -4223,7 +4223,7 @@ module Impala
|
|
4223
4223
|
ROLE_NAME = 1
|
4224
4224
|
|
4225
4225
|
FIELDS = {
|
4226
|
-
|
4226
|
+
ROLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'role_name'}
|
4227
4227
|
}
|
4228
4228
|
|
4229
4229
|
def struct_fields; FIELDS; end
|
@@ -4240,8 +4240,8 @@ module Impala
|
|
4240
4240
|
O1 = 1
|
4241
4241
|
|
4242
4242
|
FIELDS = {
|
4243
|
-
|
4244
|
-
|
4243
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4244
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4245
4245
|
}
|
4246
4246
|
|
4247
4247
|
def struct_fields; FIELDS; end
|
@@ -4273,8 +4273,8 @@ module Impala
|
|
4273
4273
|
O1 = 1
|
4274
4274
|
|
4275
4275
|
FIELDS = {
|
4276
|
-
|
4277
|
-
|
4276
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
4277
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4278
4278
|
}
|
4279
4279
|
|
4280
4280
|
def struct_fields; FIELDS; end
|
@@ -4295,21 +4295,21 @@ module Impala
|
|
4295
4295
|
GRANT_OPTION = 6
|
4296
4296
|
|
4297
4297
|
FIELDS = {
|
4298
|
-
|
4299
|
-
|
4300
|
-
|
4301
|
-
|
4302
|
-
|
4303
|
-
|
4298
|
+
ROLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'role_name'},
|
4299
|
+
PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
|
4300
|
+
PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
|
4301
|
+
GRANTOR => {:type => ::Thrift::Types::STRING, :name => 'grantor'},
|
4302
|
+
GRANTORTYPE => {:type => ::Thrift::Types::I32, :name => 'grantorType', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
|
4303
|
+
GRANT_OPTION => {:type => ::Thrift::Types::BOOL, :name => 'grant_option'}
|
4304
4304
|
}
|
4305
4305
|
|
4306
4306
|
def struct_fields; FIELDS; end
|
4307
4307
|
|
4308
4308
|
def validate
|
4309
|
-
unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4309
|
+
unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4310
4310
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
|
4311
4311
|
end
|
4312
|
-
unless @grantorType.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType)
|
4312
|
+
unless @grantorType.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType)
|
4313
4313
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grantorType!')
|
4314
4314
|
end
|
4315
4315
|
end
|
@@ -4323,8 +4323,8 @@ module Impala
|
|
4323
4323
|
O1 = 1
|
4324
4324
|
|
4325
4325
|
FIELDS = {
|
4326
|
-
|
4327
|
-
|
4326
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4327
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4328
4328
|
}
|
4329
4329
|
|
4330
4330
|
def struct_fields; FIELDS; end
|
@@ -4342,15 +4342,15 @@ module Impala
|
|
4342
4342
|
PRINCIPAL_TYPE = 3
|
4343
4343
|
|
4344
4344
|
FIELDS = {
|
4345
|
-
|
4346
|
-
|
4347
|
-
|
4345
|
+
ROLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'role_name'},
|
4346
|
+
PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
|
4347
|
+
PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType}
|
4348
4348
|
}
|
4349
4349
|
|
4350
4350
|
def struct_fields; FIELDS; end
|
4351
4351
|
|
4352
4352
|
def validate
|
4353
|
-
unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4353
|
+
unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4354
4354
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
|
4355
4355
|
end
|
4356
4356
|
end
|
@@ -4364,8 +4364,8 @@ module Impala
|
|
4364
4364
|
O1 = 1
|
4365
4365
|
|
4366
4366
|
FIELDS = {
|
4367
|
-
|
4368
|
-
|
4367
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4368
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4369
4369
|
}
|
4370
4370
|
|
4371
4371
|
def struct_fields; FIELDS; end
|
@@ -4382,14 +4382,14 @@ module Impala
|
|
4382
4382
|
PRINCIPAL_TYPE = 2
|
4383
4383
|
|
4384
4384
|
FIELDS = {
|
4385
|
-
|
4386
|
-
|
4385
|
+
PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
|
4386
|
+
PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType}
|
4387
4387
|
}
|
4388
4388
|
|
4389
4389
|
def struct_fields; FIELDS; end
|
4390
4390
|
|
4391
4391
|
def validate
|
4392
|
-
unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4392
|
+
unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4393
4393
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
|
4394
4394
|
end
|
4395
4395
|
end
|
@@ -4403,8 +4403,8 @@ module Impala
|
|
4403
4403
|
O1 = 1
|
4404
4404
|
|
4405
4405
|
FIELDS = {
|
4406
|
-
|
4407
|
-
|
4406
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Role}},
|
4407
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4408
4408
|
}
|
4409
4409
|
|
4410
4410
|
def struct_fields; FIELDS; end
|
@@ -4422,9 +4422,9 @@ module Impala
|
|
4422
4422
|
GROUP_NAMES = 3
|
4423
4423
|
|
4424
4424
|
FIELDS = {
|
4425
|
-
|
4426
|
-
|
4427
|
-
|
4425
|
+
HIVEOBJECT => {:type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => ::Impala::Protocol::HiveMetastore::HiveObjectRef},
|
4426
|
+
USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
|
4427
|
+
GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
|
4428
4428
|
}
|
4429
4429
|
|
4430
4430
|
def struct_fields; FIELDS; end
|
@@ -4441,8 +4441,8 @@ module Impala
|
|
4441
4441
|
O1 = 1
|
4442
4442
|
|
4443
4443
|
FIELDS = {
|
4444
|
-
|
4445
|
-
|
4444
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet},
|
4445
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4446
4446
|
}
|
4447
4447
|
|
4448
4448
|
def struct_fields; FIELDS; end
|
@@ -4460,15 +4460,15 @@ module Impala
|
|
4460
4460
|
HIVEOBJECT = 3
|
4461
4461
|
|
4462
4462
|
FIELDS = {
|
4463
|
-
|
4464
|
-
|
4465
|
-
|
4463
|
+
PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'principal_name'},
|
4464
|
+
PRINCIPAL_TYPE => {:type => ::Thrift::Types::I32, :name => 'principal_type', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
|
4465
|
+
HIVEOBJECT => {:type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => ::Impala::Protocol::HiveMetastore::HiveObjectRef}
|
4466
4466
|
}
|
4467
4467
|
|
4468
4468
|
def struct_fields; FIELDS; end
|
4469
4469
|
|
4470
4470
|
def validate
|
4471
|
-
unless @principal_type.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4471
|
+
unless @principal_type.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principal_type)
|
4472
4472
|
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
|
4473
4473
|
end
|
4474
4474
|
end
|
@@ -4482,8 +4482,8 @@ module Impala
|
|
4482
4482
|
O1 = 1
|
4483
4483
|
|
4484
4484
|
FIELDS = {
|
4485
|
-
|
4486
|
-
|
4485
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::HiveObjectPrivilege}},
|
4486
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4487
4487
|
}
|
4488
4488
|
|
4489
4489
|
def struct_fields; FIELDS; end
|
@@ -4499,7 +4499,7 @@ module Impala
|
|
4499
4499
|
PRIVILEGES = 1
|
4500
4500
|
|
4501
4501
|
FIELDS = {
|
4502
|
-
|
4502
|
+
PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrivilegeBag}
|
4503
4503
|
}
|
4504
4504
|
|
4505
4505
|
def struct_fields; FIELDS; end
|
@@ -4516,8 +4516,8 @@ module Impala
|
|
4516
4516
|
O1 = 1
|
4517
4517
|
|
4518
4518
|
FIELDS = {
|
4519
|
-
|
4520
|
-
|
4519
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4520
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4521
4521
|
}
|
4522
4522
|
|
4523
4523
|
def struct_fields; FIELDS; end
|
@@ -4533,7 +4533,7 @@ module Impala
|
|
4533
4533
|
PRIVILEGES = 1
|
4534
4534
|
|
4535
4535
|
FIELDS = {
|
4536
|
-
|
4536
|
+
PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrivilegeBag}
|
4537
4537
|
}
|
4538
4538
|
|
4539
4539
|
def struct_fields; FIELDS; end
|
@@ -4550,8 +4550,8 @@ module Impala
|
|
4550
4550
|
O1 = 1
|
4551
4551
|
|
4552
4552
|
FIELDS = {
|
4553
|
-
|
4554
|
-
|
4553
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
|
4554
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4555
4555
|
}
|
4556
4556
|
|
4557
4557
|
def struct_fields; FIELDS; end
|
@@ -4568,8 +4568,8 @@ module Impala
|
|
4568
4568
|
GROUP_NAMES = 2
|
4569
4569
|
|
4570
4570
|
FIELDS = {
|
4571
|
-
|
4572
|
-
|
4571
|
+
USER_NAME => {:type => ::Thrift::Types::STRING, :name => 'user_name'},
|
4572
|
+
GROUP_NAMES => {:type => ::Thrift::Types::LIST, :name => 'group_names', :element => {:type => ::Thrift::Types::STRING}}
|
4573
4573
|
}
|
4574
4574
|
|
4575
4575
|
def struct_fields; FIELDS; end
|
@@ -4586,8 +4586,8 @@ module Impala
|
|
4586
4586
|
O1 = 1
|
4587
4587
|
|
4588
4588
|
FIELDS = {
|
4589
|
-
|
4590
|
-
|
4589
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
4590
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4591
4591
|
}
|
4592
4592
|
|
4593
4593
|
def struct_fields; FIELDS; end
|
@@ -4604,8 +4604,8 @@ module Impala
|
|
4604
4604
|
RENEWER_KERBEROS_PRINCIPAL_NAME = 2
|
4605
4605
|
|
4606
4606
|
FIELDS = {
|
4607
|
-
|
4608
|
-
|
4607
|
+
TOKEN_OWNER => {:type => ::Thrift::Types::STRING, :name => 'token_owner'},
|
4608
|
+
RENEWER_KERBEROS_PRINCIPAL_NAME => {:type => ::Thrift::Types::STRING, :name => 'renewer_kerberos_principal_name'}
|
4609
4609
|
}
|
4610
4610
|
|
4611
4611
|
def struct_fields; FIELDS; end
|
@@ -4622,8 +4622,8 @@ module Impala
|
|
4622
4622
|
O1 = 1
|
4623
4623
|
|
4624
4624
|
FIELDS = {
|
4625
|
-
|
4626
|
-
|
4625
|
+
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
4626
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4627
4627
|
}
|
4628
4628
|
|
4629
4629
|
def struct_fields; FIELDS; end
|
@@ -4639,7 +4639,7 @@ module Impala
|
|
4639
4639
|
TOKEN_STR_FORM = 1
|
4640
4640
|
|
4641
4641
|
FIELDS = {
|
4642
|
-
|
4642
|
+
TOKEN_STR_FORM => {:type => ::Thrift::Types::STRING, :name => 'token_str_form'}
|
4643
4643
|
}
|
4644
4644
|
|
4645
4645
|
def struct_fields; FIELDS; end
|
@@ -4656,8 +4656,8 @@ module Impala
|
|
4656
4656
|
O1 = 1
|
4657
4657
|
|
4658
4658
|
FIELDS = {
|
4659
|
-
|
4660
|
-
|
4659
|
+
SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'},
|
4660
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4661
4661
|
}
|
4662
4662
|
|
4663
4663
|
def struct_fields; FIELDS; end
|
@@ -4673,7 +4673,7 @@ module Impala
|
|
4673
4673
|
TOKEN_STR_FORM = 1
|
4674
4674
|
|
4675
4675
|
FIELDS = {
|
4676
|
-
|
4676
|
+
TOKEN_STR_FORM => {:type => ::Thrift::Types::STRING, :name => 'token_str_form'}
|
4677
4677
|
}
|
4678
4678
|
|
4679
4679
|
def struct_fields; FIELDS; end
|
@@ -4689,7 +4689,7 @@ module Impala
|
|
4689
4689
|
O1 = 1
|
4690
4690
|
|
4691
4691
|
FIELDS = {
|
4692
|
-
|
4692
|
+
O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::Impala::Protocol::HiveMetastore::MetaException}
|
4693
4693
|
}
|
4694
4694
|
|
4695
4695
|
def struct_fields; FIELDS; end
|