mobilize-hive 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -406,7 +406,7 @@ module Mobilize
406
406
  part_stmt = part_pairs.map{|pp| "#{pp.first}='#{pp.second}'"}.join(",")
407
407
  hdfs_dir = "#{target_table_stats['location']}/#{part_dir}"
408
408
  hdfs_source_path = "/#{hdfs_dir.split("/")[3..-2].join("/")}/#{base_filename}"
409
- hdfs_target_path = "/#{hdfs_dir.split("/")[3..-1].join("/")}/#{base_filename}"
409
+ hdfs_target_path = "/#{hdfs_dir.split("/")[3..-1].join("/")}"
410
410
  #load partition into source path
411
411
  puts "Writing to #{hdfs_source_path} for #{user} at #{Time.now.utc}"
412
412
  Hdfs.write(hdfs_source_path,tpmv,user)
@@ -1,5 +1,5 @@
1
1
  module Mobilize
2
2
  module Hive
3
- VERSION = "1.0.10"
3
+ VERSION = "1.0.11"
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.0.10
4
+ version: 1.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: