impala 0.1.6 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. data/Rakefile +0 -2
  2. data/impala.gemspec +1 -2
  3. data/lib/impala.rb +1 -1
  4. data/lib/impala/cursor.rb +10 -4
  5. data/lib/impala/protocol/beeswax_constants.rb +2 -1
  6. data/lib/impala/protocol/beeswax_service.rb +46 -46
  7. data/lib/impala/protocol/beeswax_types.rb +31 -30
  8. data/lib/impala/protocol/cli_service_constants.rb +60 -0
  9. data/lib/impala/protocol/cli_service_types.rb +1452 -0
  10. data/lib/impala/protocol/facebook_service.rb +17 -17
  11. data/lib/impala/protocol/fb303_constants.rb +2 -1
  12. data/lib/impala/protocol/fb303_types.rb +3 -2
  13. data/lib/impala/protocol/hive_metastore_constants.rb +2 -1
  14. data/lib/impala/protocol/hive_metastore_types.rb +102 -101
  15. data/lib/impala/protocol/impala_hive_server2_service.rb +29 -0
  16. data/lib/impala/protocol/impala_service.rb +135 -18
  17. data/lib/impala/protocol/impala_service_constants.rb +2 -1
  18. data/lib/impala/protocol/impala_service_types.rb +54 -10
  19. data/lib/impala/protocol/status_constants.rb +2 -1
  20. data/lib/impala/protocol/status_types.rb +9 -7
  21. data/lib/impala/protocol/t_c_l_i_service.rb +948 -0
  22. data/lib/impala/protocol/thrift_hive_metastore.rb +507 -507
  23. data/lib/impala/version.rb +1 -1
  24. data/test/test_impala_connected.rb +93 -13
  25. data/thrift/ImpalaService.thrift +78 -6
  26. data/thrift/Status.thrift +2 -1
  27. data/thrift/beeswax.thrift +1 -1
  28. data/thrift/cli_service.thrift +1015 -0
  29. metadata +9 -75
  30. data/lib/impala/protocol/data_constants.rb +0 -12
  31. data/lib/impala/protocol/data_sinks_constants.rb +0 -12
  32. data/lib/impala/protocol/data_sinks_types.rb +0 -107
  33. data/lib/impala/protocol/data_types.rb +0 -77
  34. data/lib/impala/protocol/descriptors_constants.rb +0 -12
  35. data/lib/impala/protocol/descriptors_types.rb +0 -266
  36. data/lib/impala/protocol/exprs_constants.rb +0 -12
  37. data/lib/impala/protocol/exprs_types.rb +0 -345
  38. data/lib/impala/protocol/frontend_constants.rb +0 -12
  39. data/lib/impala/protocol/frontend_types.rb +0 -347
  40. data/lib/impala/protocol/impala_internal_service.rb +0 -244
  41. data/lib/impala/protocol/impala_internal_service_constants.rb +0 -12
  42. data/lib/impala/protocol/impala_internal_service_types.rb +0 -362
  43. data/lib/impala/protocol/impala_plan_service.rb +0 -310
  44. data/lib/impala/protocol/impala_plan_service_constants.rb +0 -12
  45. data/lib/impala/protocol/impala_plan_service_types.rb +0 -36
  46. data/lib/impala/protocol/java_constants_constants.rb +0 -42
  47. data/lib/impala/protocol/java_constants_types.rb +0 -14
  48. data/lib/impala/protocol/opcodes_constants.rb +0 -12
  49. data/lib/impala/protocol/opcodes_types.rb +0 -309
  50. data/lib/impala/protocol/partitions_constants.rb +0 -12
  51. data/lib/impala/protocol/partitions_types.rb +0 -44
  52. data/lib/impala/protocol/plan_nodes_constants.rb +0 -12
  53. data/lib/impala/protocol/plan_nodes_types.rb +0 -345
  54. data/lib/impala/protocol/planner_constants.rb +0 -12
  55. data/lib/impala/protocol/planner_types.rb +0 -78
  56. data/lib/impala/protocol/runtime_profile_constants.rb +0 -12
  57. data/lib/impala/protocol/runtime_profile_types.rb +0 -97
  58. data/lib/impala/protocol/state_store_service.rb +0 -244
  59. data/lib/impala/protocol/state_store_service_constants.rb +0 -12
  60. data/lib/impala/protocol/state_store_service_types.rb +0 -185
  61. data/lib/impala/protocol/state_store_subscriber_service.rb +0 -82
  62. data/lib/impala/protocol/state_store_subscriber_service_constants.rb +0 -12
  63. data/lib/impala/protocol/state_store_subscriber_service_types.rb +0 -67
  64. data/lib/impala/protocol/statestore_types_constants.rb +0 -12
  65. data/lib/impala/protocol/statestore_types_types.rb +0 -77
  66. data/lib/impala/protocol/types_constants.rb +0 -12
  67. data/lib/impala/protocol/types_types.rb +0 -86
  68. data/thrift/Data.thrift +0 -52
  69. data/thrift/DataSinks.thrift +0 -61
  70. data/thrift/Descriptors.thrift +0 -115
  71. data/thrift/Exprs.thrift +0 -134
  72. data/thrift/Frontend.thrift +0 -193
  73. data/thrift/ImpalaInternalService.thrift +0 -265
  74. data/thrift/ImpalaPlanService.thrift +0 -44
  75. data/thrift/JavaConstants.thrift +0 -60
  76. data/thrift/Opcodes.thrift +0 -317
  77. data/thrift/Partitions.thrift +0 -41
  78. data/thrift/PlanNodes.thrift +0 -184
  79. data/thrift/Planner.thrift +0 -72
  80. data/thrift/RuntimeProfile.thrift +0 -58
  81. data/thrift/StateStoreService.thrift +0 -121
  82. data/thrift/StateStoreSubscriberService.thrift +0 -64
  83. data/thrift/StatestoreTypes.thrift +0 -50
  84. data/thrift/Types.thrift +0 -71
@@ -1,5 +1,5 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.8.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
  #
@@ -310,7 +310,7 @@ module Impala
310
310
  SUCCESS = 0
311
311
 
312
312
  FIELDS = {
313
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' }
313
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
314
314
  }
315
315
 
316
316
  def struct_fields; FIELDS; end
@@ -341,7 +341,7 @@ module Impala
341
341
  SUCCESS = 0
342
342
 
343
343
  FIELDS = {
344
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' }
344
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
345
345
  }
346
346
 
347
347
  def struct_fields; FIELDS; end
@@ -372,13 +372,13 @@ module Impala
372
372
  SUCCESS = 0
373
373
 
374
374
  FIELDS = {
375
- SUCCESS => { :type => ::Thrift::Types::I32, :name => 'success', :enum_class => Impala::Protocol::Fb303::Fb_status }
375
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success', :enum_class => ::Impala::Protocol::Fb303::Fb_status}
376
376
  }
377
377
 
378
378
  def struct_fields; FIELDS; end
379
379
 
380
380
  def validate
381
- unless @success.nil? || Impala::Protocol::Fb303::Fb_status::VALID_VALUES.include?(@success)
381
+ unless @success.nil? || ::Impala::Protocol::Fb303::Fb_status::VALID_VALUES.include?(@success)
382
382
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field success!')
383
383
  end
384
384
  end
@@ -406,7 +406,7 @@ module Impala
406
406
  SUCCESS = 0
407
407
 
408
408
  FIELDS = {
409
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' }
409
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
410
410
  }
411
411
 
412
412
  def struct_fields; FIELDS; end
@@ -437,7 +437,7 @@ module Impala
437
437
  SUCCESS = 0
438
438
 
439
439
  FIELDS = {
440
- SUCCESS => { :type => ::Thrift::Types::MAP, :name => 'success', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::I64 } }
440
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I64}}
441
441
  }
442
442
 
443
443
  def struct_fields; FIELDS; end
@@ -453,7 +453,7 @@ module Impala
453
453
  KEY = 1
454
454
 
455
455
  FIELDS = {
456
- KEY => { :type => ::Thrift::Types::STRING, :name => 'key' }
456
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'}
457
457
  }
458
458
 
459
459
  def struct_fields; FIELDS; end
@@ -469,7 +469,7 @@ module Impala
469
469
  SUCCESS = 0
470
470
 
471
471
  FIELDS = {
472
- SUCCESS => { :type => ::Thrift::Types::I64, :name => 'success' }
472
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'}
473
473
  }
474
474
 
475
475
  def struct_fields; FIELDS; end
@@ -486,8 +486,8 @@ module Impala
486
486
  VALUE = 2
487
487
 
488
488
  FIELDS = {
489
- KEY => { :type => ::Thrift::Types::STRING, :name => 'key' },
490
- VALUE => { :type => ::Thrift::Types::STRING, :name => 'value' }
489
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
490
+ VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'}
491
491
  }
492
492
 
493
493
  def struct_fields; FIELDS; end
@@ -518,7 +518,7 @@ module Impala
518
518
  KEY = 1
519
519
 
520
520
  FIELDS = {
521
- KEY => { :type => ::Thrift::Types::STRING, :name => 'key' }
521
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'}
522
522
  }
523
523
 
524
524
  def struct_fields; FIELDS; end
@@ -534,7 +534,7 @@ module Impala
534
534
  SUCCESS = 0
535
535
 
536
536
  FIELDS = {
537
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' }
537
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
538
538
  }
539
539
 
540
540
  def struct_fields; FIELDS; end
@@ -565,7 +565,7 @@ module Impala
565
565
  SUCCESS = 0
566
566
 
567
567
  FIELDS = {
568
- SUCCESS => { :type => ::Thrift::Types::MAP, :name => 'success', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } }
568
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
569
569
  }
570
570
 
571
571
  def struct_fields; FIELDS; end
@@ -581,7 +581,7 @@ module Impala
581
581
  PROFILEDURATIONINSEC = 1
582
582
 
583
583
  FIELDS = {
584
- PROFILEDURATIONINSEC => { :type => ::Thrift::Types::I32, :name => 'profileDurationInSec' }
584
+ PROFILEDURATIONINSEC => {:type => ::Thrift::Types::I32, :name => 'profileDurationInSec'}
585
585
  }
586
586
 
587
587
  def struct_fields; FIELDS; end
@@ -597,7 +597,7 @@ module Impala
597
597
  SUCCESS = 0
598
598
 
599
599
  FIELDS = {
600
- SUCCESS => { :type => ::Thrift::Types::STRING, :name => 'success' }
600
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
601
601
  }
602
602
 
603
603
  def struct_fields; FIELDS; end
@@ -628,7 +628,7 @@ module Impala
628
628
  SUCCESS = 0
629
629
 
630
630
  FIELDS = {
631
- SUCCESS => { :type => ::Thrift::Types::I64, :name => 'success' }
631
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'}
632
632
  }
633
633
 
634
634
  def struct_fields; FIELDS; end
@@ -1,9 +1,10 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.8.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
  #
6
6
 
7
+ require 'thrift'
7
8
  require 'fb303_types'
8
9
 
9
10
  module Impala
@@ -1,9 +1,10 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.8.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
  #
6
6
 
7
+ require 'thrift'
7
8
 
8
9
  module Impala
9
10
  module Protocol
@@ -15,7 +16,7 @@ module Impala
15
16
  STOPPING = 3
16
17
  STOPPED = 4
17
18
  WARNING = 5
18
- VALUE_MAP = { 0 => "DEAD", 1 => "STARTING", 2 => "ALIVE", 3 => "STOPPING", 4 => "STOPPED", 5 => "WARNING" }
19
+ VALUE_MAP = {0 => "DEAD", 1 => "STARTING", 2 => "ALIVE", 3 => "STOPPING", 4 => "STOPPED", 5 => "WARNING"}
19
20
  VALID_VALUES = Set.new([DEAD, STARTING, ALIVE, STOPPING, STOPPED, WARNING]).freeze
20
21
  end
21
22
 
@@ -1,9 +1,10 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.8.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
  #
6
6
 
7
+ require 'thrift'
7
8
  require 'hive_metastore_types'
8
9
 
9
10
  module Impala
@@ -1,9 +1,10 @@
1
1
  #
2
- # Autogenerated by Thrift Compiler (0.8.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
  #
6
6
 
7
+ require 'thrift'
7
8
  require 'fb303_types'
8
9
 
9
10
 
@@ -16,7 +17,7 @@ module Impala
16
17
  TABLE = 3
17
18
  PARTITION = 4
18
19
  COLUMN = 5
19
- VALUE_MAP = { 1 => "GLOBAL", 2 => "DATABASE", 3 => "TABLE", 4 => "PARTITION", 5 => "COLUMN" }
20
+ VALUE_MAP = {1 => "GLOBAL", 2 => "DATABASE", 3 => "TABLE", 4 => "PARTITION", 5 => "COLUMN"}
20
21
  VALID_VALUES = Set.new([GLOBAL, DATABASE, TABLE, PARTITION, COLUMN]).freeze
21
22
  end
22
23
 
@@ -24,13 +25,13 @@ module Impala
24
25
  USER = 1
25
26
  ROLE = 2
26
27
  GROUP = 3
27
- VALUE_MAP = { 1 => "USER", 2 => "ROLE", 3 => "GROUP" }
28
+ VALUE_MAP = {1 => "USER", 2 => "ROLE", 3 => "GROUP"}
28
29
  VALID_VALUES = Set.new([USER, ROLE, GROUP]).freeze
29
30
  end
30
31
 
31
32
  module PartitionEventType
32
33
  LOAD_DONE = 1
33
- VALUE_MAP = { 1 => "LOAD_DONE" }
34
+ VALUE_MAP = {1 => "LOAD_DONE"}
34
35
  VALID_VALUES = Set.new([LOAD_DONE]).freeze
35
36
  end
36
37
 
@@ -40,8 +41,8 @@ module Impala
40
41
  COMMENTS = 2
41
42
 
42
43
  FIELDS = {
43
- VERSION => { :type => ::Thrift::Types::STRING, :name => 'version' },
44
- COMMENTS => { :type => ::Thrift::Types::STRING, :name => 'comments' }
44
+ VERSION => {:type => ::Thrift::Types::STRING, :name => 'version'},
45
+ COMMENTS => {:type => ::Thrift::Types::STRING, :name => 'comments'}
45
46
  }
46
47
 
47
48
  def struct_fields; FIELDS; end
@@ -59,9 +60,9 @@ module Impala
59
60
  COMMENT = 3
60
61
 
61
62
  FIELDS = {
62
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
63
- TYPE => { :type => ::Thrift::Types::STRING, :name => 'type' },
64
- COMMENT => { :type => ::Thrift::Types::STRING, :name => 'comment' }
63
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
64
+ TYPE => {:type => ::Thrift::Types::STRING, :name => 'type'},
65
+ COMMENT => {:type => ::Thrift::Types::STRING, :name => 'comment'}
65
66
  }
66
67
 
67
68
  def struct_fields; FIELDS; end
@@ -79,9 +80,9 @@ module Impala
79
80
  TYPE2 = 3
80
81
 
81
82
  FIELDS = {
82
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
83
- TYPE1 => { :type => ::Thrift::Types::STRING, :name => 'type1', :optional => true },
84
- TYPE2 => { :type => ::Thrift::Types::STRING, :name => 'type2', :optional => true }
83
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
84
+ TYPE1 => {:type => ::Thrift::Types::STRING, :name => 'type1', :optional => true},
85
+ TYPE2 => {:type => ::Thrift::Types::STRING, :name => 'type2', :optional => true}
85
86
  }
86
87
 
87
88
  def struct_fields; FIELDS; end
@@ -101,17 +102,17 @@ module Impala
101
102
  COLUMNNAME = 5
102
103
 
103
104
  FIELDS = {
104
- OBJECTTYPE => { :type => ::Thrift::Types::I32, :name => 'objectType', :enum_class => Impala::Protocol::HiveMetastore::HiveObjectType },
105
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbName' },
106
- OBJECTNAME => { :type => ::Thrift::Types::STRING, :name => 'objectName' },
107
- PARTVALUES => { :type => ::Thrift::Types::LIST, :name => 'partValues', :element => { :type => ::Thrift::Types::STRING } },
108
- COLUMNNAME => { :type => ::Thrift::Types::STRING, :name => 'columnName' }
105
+ OBJECTTYPE => {:type => ::Thrift::Types::I32, :name => 'objectType', :enum_class => ::Impala::Protocol::HiveMetastore::HiveObjectType},
106
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
107
+ OBJECTNAME => {:type => ::Thrift::Types::STRING, :name => 'objectName'},
108
+ PARTVALUES => {:type => ::Thrift::Types::LIST, :name => 'partValues', :element => {:type => ::Thrift::Types::STRING}},
109
+ COLUMNNAME => {:type => ::Thrift::Types::STRING, :name => 'columnName'}
109
110
  }
110
111
 
111
112
  def struct_fields; FIELDS; end
112
113
 
113
114
  def validate
114
- unless @objectType.nil? || Impala::Protocol::HiveMetastore::HiveObjectType::VALID_VALUES.include?(@objectType)
115
+ unless @objectType.nil? || ::Impala::Protocol::HiveMetastore::HiveObjectType::VALID_VALUES.include?(@objectType)
115
116
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field objectType!')
116
117
  end
117
118
  end
@@ -128,17 +129,17 @@ module Impala
128
129
  GRANTOPTION = 5
129
130
 
130
131
  FIELDS = {
131
- PRIVILEGE => { :type => ::Thrift::Types::STRING, :name => 'privilege' },
132
- CREATETIME => { :type => ::Thrift::Types::I32, :name => 'createTime' },
133
- GRANTOR => { :type => ::Thrift::Types::STRING, :name => 'grantor' },
134
- GRANTORTYPE => { :type => ::Thrift::Types::I32, :name => 'grantorType', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType },
135
- GRANTOPTION => { :type => ::Thrift::Types::BOOL, :name => 'grantOption' }
132
+ PRIVILEGE => {:type => ::Thrift::Types::STRING, :name => 'privilege'},
133
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
134
+ GRANTOR => {:type => ::Thrift::Types::STRING, :name => 'grantor'},
135
+ GRANTORTYPE => {:type => ::Thrift::Types::I32, :name => 'grantorType', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
136
+ GRANTOPTION => {:type => ::Thrift::Types::BOOL, :name => 'grantOption'}
136
137
  }
137
138
 
138
139
  def struct_fields; FIELDS; end
139
140
 
140
141
  def validate
141
- unless @grantorType.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType)
142
+ unless @grantorType.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType)
142
143
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grantorType!')
143
144
  end
144
145
  end
@@ -154,16 +155,16 @@ module Impala
154
155
  GRANTINFO = 4
155
156
 
156
157
  FIELDS = {
157
- HIVEOBJECT => { :type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => Impala::Protocol::HiveMetastore::HiveObjectRef },
158
- PRINCIPALNAME => { :type => ::Thrift::Types::STRING, :name => 'principalName' },
159
- PRINCIPALTYPE => { :type => ::Thrift::Types::I32, :name => 'principalType', :enum_class => Impala::Protocol::HiveMetastore::PrincipalType },
160
- GRANTINFO => { :type => ::Thrift::Types::STRUCT, :name => 'grantInfo', :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo }
158
+ HIVEOBJECT => {:type => ::Thrift::Types::STRUCT, :name => 'hiveObject', :class => ::Impala::Protocol::HiveMetastore::HiveObjectRef},
159
+ PRINCIPALNAME => {:type => ::Thrift::Types::STRING, :name => 'principalName'},
160
+ PRINCIPALTYPE => {:type => ::Thrift::Types::I32, :name => 'principalType', :enum_class => ::Impala::Protocol::HiveMetastore::PrincipalType},
161
+ GRANTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'grantInfo', :class => ::Impala::Protocol::HiveMetastore::PrivilegeGrantInfo}
161
162
  }
162
163
 
163
164
  def struct_fields; FIELDS; end
164
165
 
165
166
  def validate
166
- unless @principalType.nil? || Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principalType)
167
+ unless @principalType.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@principalType)
167
168
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principalType!')
168
169
  end
169
170
  end
@@ -176,7 +177,7 @@ module Impala
176
177
  PRIVILEGES = 1
177
178
 
178
179
  FIELDS = {
179
- PRIVILEGES => { :type => ::Thrift::Types::LIST, :name => 'privileges', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::HiveObjectPrivilege } }
180
+ PRIVILEGES => {:type => ::Thrift::Types::LIST, :name => 'privileges', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::HiveObjectPrivilege}}
180
181
  }
181
182
 
182
183
  def struct_fields; FIELDS; end
@@ -194,9 +195,9 @@ module Impala
194
195
  ROLEPRIVILEGES = 3
195
196
 
196
197
  FIELDS = {
197
- USERPRIVILEGES => { :type => ::Thrift::Types::MAP, :name => 'userPrivileges', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo } } },
198
- GROUPPRIVILEGES => { :type => ::Thrift::Types::MAP, :name => 'groupPrivileges', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo } } },
199
- ROLEPRIVILEGES => { :type => ::Thrift::Types::MAP, :name => 'rolePrivileges', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::PrivilegeGrantInfo } } }
198
+ USERPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'userPrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::PrivilegeGrantInfo}}},
199
+ GROUPPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'groupPrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::PrivilegeGrantInfo}}},
200
+ ROLEPRIVILEGES => {:type => ::Thrift::Types::MAP, :name => 'rolePrivileges', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::PrivilegeGrantInfo}}}
200
201
  }
201
202
 
202
203
  def struct_fields; FIELDS; end
@@ -214,9 +215,9 @@ module Impala
214
215
  OWNERNAME = 3
215
216
 
216
217
  FIELDS = {
217
- ROLENAME => { :type => ::Thrift::Types::STRING, :name => 'roleName' },
218
- CREATETIME => { :type => ::Thrift::Types::I32, :name => 'createTime' },
219
- OWNERNAME => { :type => ::Thrift::Types::STRING, :name => 'ownerName' }
218
+ ROLENAME => {:type => ::Thrift::Types::STRING, :name => 'roleName'},
219
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
220
+ OWNERNAME => {:type => ::Thrift::Types::STRING, :name => 'ownerName'}
220
221
  }
221
222
 
222
223
  def struct_fields; FIELDS; end
@@ -236,11 +237,11 @@ module Impala
236
237
  PRIVILEGES = 5
237
238
 
238
239
  FIELDS = {
239
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
240
- DESCRIPTION => { :type => ::Thrift::Types::STRING, :name => 'description' },
241
- LOCATIONURI => { :type => ::Thrift::Types::STRING, :name => 'locationUri' },
242
- PARAMETERS => { :type => ::Thrift::Types::MAP, :name => 'parameters', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
243
- PRIVILEGES => { :type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true }
240
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
241
+ DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description'},
242
+ LOCATIONURI => {:type => ::Thrift::Types::STRING, :name => 'locationUri'},
243
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
244
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true}
244
245
  }
245
246
 
246
247
  def struct_fields; FIELDS; end
@@ -258,9 +259,9 @@ module Impala
258
259
  PARAMETERS = 3
259
260
 
260
261
  FIELDS = {
261
- NAME => { :type => ::Thrift::Types::STRING, :name => 'name' },
262
- SERIALIZATIONLIB => { :type => ::Thrift::Types::STRING, :name => 'serializationLib' },
263
- PARAMETERS => { :type => ::Thrift::Types::MAP, :name => 'parameters', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } }
262
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
263
+ SERIALIZATIONLIB => {:type => ::Thrift::Types::STRING, :name => 'serializationLib'},
264
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
264
265
  }
265
266
 
266
267
  def struct_fields; FIELDS; end
@@ -277,8 +278,8 @@ module Impala
277
278
  ORDER = 2
278
279
 
279
280
  FIELDS = {
280
- COL => { :type => ::Thrift::Types::STRING, :name => 'col' },
281
- ORDER => { :type => ::Thrift::Types::I32, :name => 'order' }
281
+ COL => {:type => ::Thrift::Types::STRING, :name => 'col'},
282
+ ORDER => {:type => ::Thrift::Types::I32, :name => 'order'}
282
283
  }
283
284
 
284
285
  def struct_fields; FIELDS; end
@@ -303,16 +304,16 @@ module Impala
303
304
  PARAMETERS = 10
304
305
 
305
306
  FIELDS = {
306
- COLS => { :type => ::Thrift::Types::LIST, :name => 'cols', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::FieldSchema } },
307
- LOCATION => { :type => ::Thrift::Types::STRING, :name => 'location' },
308
- INPUTFORMAT => { :type => ::Thrift::Types::STRING, :name => 'inputFormat' },
309
- OUTPUTFORMAT => { :type => ::Thrift::Types::STRING, :name => 'outputFormat' },
310
- COMPRESSED => { :type => ::Thrift::Types::BOOL, :name => 'compressed' },
311
- NUMBUCKETS => { :type => ::Thrift::Types::I32, :name => 'numBuckets' },
312
- SERDEINFO => { :type => ::Thrift::Types::STRUCT, :name => 'serdeInfo', :class => Impala::Protocol::HiveMetastore::SerDeInfo },
313
- BUCKETCOLS => { :type => ::Thrift::Types::LIST, :name => 'bucketCols', :element => { :type => ::Thrift::Types::STRING } },
314
- SORTCOLS => { :type => ::Thrift::Types::LIST, :name => 'sortCols', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::Order } },
315
- PARAMETERS => { :type => ::Thrift::Types::MAP, :name => 'parameters', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } }
307
+ COLS => {:type => ::Thrift::Types::LIST, :name => 'cols', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
308
+ LOCATION => {:type => ::Thrift::Types::STRING, :name => 'location'},
309
+ INPUTFORMAT => {:type => ::Thrift::Types::STRING, :name => 'inputFormat'},
310
+ OUTPUTFORMAT => {:type => ::Thrift::Types::STRING, :name => 'outputFormat'},
311
+ COMPRESSED => {:type => ::Thrift::Types::BOOL, :name => 'compressed'},
312
+ NUMBUCKETS => {:type => ::Thrift::Types::I32, :name => 'numBuckets'},
313
+ SERDEINFO => {:type => ::Thrift::Types::STRUCT, :name => 'serdeInfo', :class => ::Impala::Protocol::HiveMetastore::SerDeInfo},
314
+ BUCKETCOLS => {:type => ::Thrift::Types::LIST, :name => 'bucketCols', :element => {:type => ::Thrift::Types::STRING}},
315
+ SORTCOLS => {:type => ::Thrift::Types::LIST, :name => 'sortCols', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::Order}},
316
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
316
317
  }
317
318
 
318
319
  def struct_fields; FIELDS; end
@@ -340,19 +341,19 @@ module Impala
340
341
  PRIVILEGES = 13
341
342
 
342
343
  FIELDS = {
343
- TABLENAME => { :type => ::Thrift::Types::STRING, :name => 'tableName' },
344
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbName' },
345
- OWNER => { :type => ::Thrift::Types::STRING, :name => 'owner' },
346
- CREATETIME => { :type => ::Thrift::Types::I32, :name => 'createTime' },
347
- LASTACCESSTIME => { :type => ::Thrift::Types::I32, :name => 'lastAccessTime' },
348
- RETENTION => { :type => ::Thrift::Types::I32, :name => 'retention' },
349
- SD => { :type => ::Thrift::Types::STRUCT, :name => 'sd', :class => Impala::Protocol::HiveMetastore::StorageDescriptor },
350
- PARTITIONKEYS => { :type => ::Thrift::Types::LIST, :name => 'partitionKeys', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::FieldSchema } },
351
- PARAMETERS => { :type => ::Thrift::Types::MAP, :name => 'parameters', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
352
- VIEWORIGINALTEXT => { :type => ::Thrift::Types::STRING, :name => 'viewOriginalText' },
353
- VIEWEXPANDEDTEXT => { :type => ::Thrift::Types::STRING, :name => 'viewExpandedText' },
354
- TABLETYPE => { :type => ::Thrift::Types::STRING, :name => 'tableType' },
355
- PRIVILEGES => { :type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true }
344
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
345
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
346
+ OWNER => {:type => ::Thrift::Types::STRING, :name => 'owner'},
347
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
348
+ LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
349
+ RETENTION => {:type => ::Thrift::Types::I32, :name => 'retention'},
350
+ SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => ::Impala::Protocol::HiveMetastore::StorageDescriptor},
351
+ PARTITIONKEYS => {:type => ::Thrift::Types::LIST, :name => 'partitionKeys', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
352
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
353
+ VIEWORIGINALTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewOriginalText'},
354
+ VIEWEXPANDEDTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewExpandedText'},
355
+ TABLETYPE => {:type => ::Thrift::Types::STRING, :name => 'tableType'},
356
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true}
356
357
  }
357
358
 
358
359
  def struct_fields; FIELDS; end
@@ -375,14 +376,14 @@ module Impala
375
376
  PRIVILEGES = 8
376
377
 
377
378
  FIELDS = {
378
- VALUES => { :type => ::Thrift::Types::LIST, :name => 'values', :element => { :type => ::Thrift::Types::STRING } },
379
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbName' },
380
- TABLENAME => { :type => ::Thrift::Types::STRING, :name => 'tableName' },
381
- CREATETIME => { :type => ::Thrift::Types::I32, :name => 'createTime' },
382
- LASTACCESSTIME => { :type => ::Thrift::Types::I32, :name => 'lastAccessTime' },
383
- SD => { :type => ::Thrift::Types::STRUCT, :name => 'sd', :class => Impala::Protocol::HiveMetastore::StorageDescriptor },
384
- PARAMETERS => { :type => ::Thrift::Types::MAP, :name => 'parameters', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
385
- PRIVILEGES => { :type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true }
379
+ VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::STRING}},
380
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
381
+ TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
382
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
383
+ LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
384
+ SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => ::Impala::Protocol::HiveMetastore::StorageDescriptor},
385
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
386
+ PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::Impala::Protocol::HiveMetastore::PrincipalPrivilegeSet, :optional => true}
386
387
  }
387
388
 
388
389
  def struct_fields; FIELDS; end
@@ -407,16 +408,16 @@ module Impala
407
408
  DEFERREDREBUILD = 10
408
409
 
409
410
  FIELDS = {
410
- INDEXNAME => { :type => ::Thrift::Types::STRING, :name => 'indexName' },
411
- INDEXHANDLERCLASS => { :type => ::Thrift::Types::STRING, :name => 'indexHandlerClass' },
412
- DBNAME => { :type => ::Thrift::Types::STRING, :name => 'dbName' },
413
- ORIGTABLENAME => { :type => ::Thrift::Types::STRING, :name => 'origTableName' },
414
- CREATETIME => { :type => ::Thrift::Types::I32, :name => 'createTime' },
415
- LASTACCESSTIME => { :type => ::Thrift::Types::I32, :name => 'lastAccessTime' },
416
- INDEXTABLENAME => { :type => ::Thrift::Types::STRING, :name => 'indexTableName' },
417
- SD => { :type => ::Thrift::Types::STRUCT, :name => 'sd', :class => Impala::Protocol::HiveMetastore::StorageDescriptor },
418
- PARAMETERS => { :type => ::Thrift::Types::MAP, :name => 'parameters', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } },
419
- DEFERREDREBUILD => { :type => ::Thrift::Types::BOOL, :name => 'deferredRebuild' }
411
+ INDEXNAME => {:type => ::Thrift::Types::STRING, :name => 'indexName'},
412
+ INDEXHANDLERCLASS => {:type => ::Thrift::Types::STRING, :name => 'indexHandlerClass'},
413
+ DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'},
414
+ ORIGTABLENAME => {:type => ::Thrift::Types::STRING, :name => 'origTableName'},
415
+ CREATETIME => {:type => ::Thrift::Types::I32, :name => 'createTime'},
416
+ LASTACCESSTIME => {:type => ::Thrift::Types::I32, :name => 'lastAccessTime'},
417
+ INDEXTABLENAME => {:type => ::Thrift::Types::STRING, :name => 'indexTableName'},
418
+ SD => {:type => ::Thrift::Types::STRUCT, :name => 'sd', :class => ::Impala::Protocol::HiveMetastore::StorageDescriptor},
419
+ PARAMETERS => {:type => ::Thrift::Types::MAP, :name => 'parameters', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}},
420
+ DEFERREDREBUILD => {:type => ::Thrift::Types::BOOL, :name => 'deferredRebuild'}
420
421
  }
421
422
 
422
423
  def struct_fields; FIELDS; end
@@ -433,8 +434,8 @@ module Impala
433
434
  PROPERTIES = 2
434
435
 
435
436
  FIELDS = {
436
- FIELDSCHEMAS => { :type => ::Thrift::Types::LIST, :name => 'fieldSchemas', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::HiveMetastore::FieldSchema } },
437
- PROPERTIES => { :type => ::Thrift::Types::MAP, :name => 'properties', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } }
437
+ FIELDSCHEMAS => {:type => ::Thrift::Types::LIST, :name => 'fieldSchemas', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Impala::Protocol::HiveMetastore::FieldSchema}},
438
+ PROPERTIES => {:type => ::Thrift::Types::MAP, :name => 'properties', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
438
439
  }
439
440
 
440
441
  def struct_fields; FIELDS; end
@@ -450,7 +451,7 @@ module Impala
450
451
  PROPERTIES = 1
451
452
 
452
453
  FIELDS = {
453
- PROPERTIES => { :type => ::Thrift::Types::MAP, :name => 'properties', :key => { :type => ::Thrift::Types::STRING }, :value => { :type => ::Thrift::Types::STRING } }
454
+ PROPERTIES => {:type => ::Thrift::Types::MAP, :name => 'properties', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
454
455
  }
455
456
 
456
457
  def struct_fields; FIELDS; end
@@ -471,7 +472,7 @@ module Impala
471
472
  MESSAGE = 1
472
473
 
473
474
  FIELDS = {
474
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
475
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
475
476
  }
476
477
 
477
478
  def struct_fields; FIELDS; end
@@ -492,7 +493,7 @@ module Impala
492
493
  MESSAGE = 1
493
494
 
494
495
  FIELDS = {
495
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
496
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
496
497
  }
497
498
 
498
499
  def struct_fields; FIELDS; end
@@ -513,7 +514,7 @@ module Impala
513
514
  MESSAGE = 1
514
515
 
515
516
  FIELDS = {
516
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
517
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
517
518
  }
518
519
 
519
520
  def struct_fields; FIELDS; end
@@ -534,7 +535,7 @@ module Impala
534
535
  MESSAGE = 1
535
536
 
536
537
  FIELDS = {
537
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
538
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
538
539
  }
539
540
 
540
541
  def struct_fields; FIELDS; end
@@ -555,7 +556,7 @@ module Impala
555
556
  MESSAGE = 1
556
557
 
557
558
  FIELDS = {
558
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
559
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
559
560
  }
560
561
 
561
562
  def struct_fields; FIELDS; end
@@ -576,7 +577,7 @@ module Impala
576
577
  MESSAGE = 1
577
578
 
578
579
  FIELDS = {
579
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
580
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
580
581
  }
581
582
 
582
583
  def struct_fields; FIELDS; end
@@ -597,7 +598,7 @@ module Impala
597
598
  MESSAGE = 1
598
599
 
599
600
  FIELDS = {
600
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
601
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
601
602
  }
602
603
 
603
604
  def struct_fields; FIELDS; end
@@ -618,7 +619,7 @@ module Impala
618
619
  MESSAGE = 1
619
620
 
620
621
  FIELDS = {
621
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
622
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
622
623
  }
623
624
 
624
625
  def struct_fields; FIELDS; end
@@ -639,7 +640,7 @@ module Impala
639
640
  MESSAGE = 1
640
641
 
641
642
  FIELDS = {
642
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
643
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
643
644
  }
644
645
 
645
646
  def struct_fields; FIELDS; end
@@ -660,7 +661,7 @@ module Impala
660
661
  MESSAGE = 1
661
662
 
662
663
  FIELDS = {
663
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
664
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
664
665
  }
665
666
 
666
667
  def struct_fields; FIELDS; end
@@ -681,7 +682,7 @@ module Impala
681
682
  MESSAGE = 1
682
683
 
683
684
  FIELDS = {
684
- MESSAGE => { :type => ::Thrift::Types::STRING, :name => 'message' }
685
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
685
686
  }
686
687
 
687
688
  def struct_fields; FIELDS; end