mobilize-hive 1.21 → 1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -352,7 +352,9 @@ module Mobilize
352
352
 
353
353
  else
354
354
  #get all the permutations of possible partititons
355
- part_perm_hql = "set hive.cli.print.header=true;select distinct #{target_part_stmt} from #{source_table_path};"
355
+ part_set_hql = "set hive.cli.print.header=true;set mapred.job.name=#{job_name} (permutations);"
356
+ part_select_hql = "select distinct #{target_part_stmt} from #{source_table_path};"
357
+ part_perm_hql = part_set_hql + part_select_hql
356
358
  part_perm_tsv = Hive.run(cluster, part_perm_hql, user_name)['stdout']
357
359
  #having gotten the permutations, ensure they are dropped
358
360
  part_hash_array = part_perm_tsv.tsv_to_hash_array
@@ -1,5 +1,5 @@
1
1
  module Mobilize
2
2
  module Hive
3
- VERSION = "1.21"
3
+ VERSION = "1.22"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobilize-hive
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.21'
4
+ version: '1.22'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  segments:
68
68
  - 0
69
- hash: -4590609456874633429
69
+ hash: -4582611704376704444
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  none: false
72
72
  requirements:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  segments:
77
77
  - 0
78
- hash: -4590609456874633429
78
+ hash: -4582611704376704444
79
79
  requirements: []
80
80
  rubyforge_project:
81
81
  rubygems_version: 1.8.25