hipster_sql_to_hbase 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df0c348233d87ffb7aacd423f8b64d475adb4d38
4
- data.tar.gz: a6fb7bf800e3200a90349bfc02dcd412423b2ccc
3
+ metadata.gz: 29362799309af2277d1327165b613ee871d193d2
4
+ data.tar.gz: 38ddeb84881bf61e71c364b5b99794c2ac0be830
5
5
  SHA512:
6
- metadata.gz: 9b22c41dd63997b3d537067e4139741620a9b69553f47652cc59625590f95bbac27aff24040457d7b3b4d07f0ded69b3cb76479abe0abefbd41474267e6842a0
7
- data.tar.gz: 2e2c362810c8aed1c760dd874e721e0994d2acd67bb552355ff33c6916ffd63efa4ad91082c58abf2e1fa3b2be2c0a7c734659d13f6e2d809cc3c300dd1f0160
6
+ metadata.gz: 53ad1b67e96c420b630b8c26d764cb6e9563bc01d7d29e20ca0d4d96787cd49d7fac42283f28d95ed1eefa108ef68e3f1fad64d60543dc24e666d6569a500dfe
7
+ data.tar.gz: bacf8832df5718a55db4b456cff25ccaf4c03a70a22e1f2853c29cd0a8f492710e0e4edb1038eeb401224ded4ad607ed1411e199b10d077c5ddc5feaecf0aead
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "hipster_sql_to_hbase"
5
- s.version = "0.1.4"
5
+ s.version = "0.1.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jean Lescure"]
data/lib/adapter/hbase.rb CHANGED
@@ -20,7 +20,6 @@ module Hbase
20
20
  c_row
21
21
  end
22
22
  def getRowsByScanner(table,columns,filters,obj={})
23
- start_time = Time.now
24
23
  scan = HBase::TScan.new
25
24
  filters = "(RowFilter(>=, 'binary:0'))" if filters == ''
26
25
  scan.filterString = filters
@@ -44,9 +43,7 @@ module Hbase
44
43
  scan_end = true
45
44
  end
46
45
  end
47
- #
48
- end_time = Time.now
49
- results << (end_time - start_time) * 1000
46
+
50
47
  results
51
48
  end
52
49
  end
data/lib/executor.rb CHANGED
@@ -79,7 +79,7 @@ module HipsterSqlToHbase
79
79
  results << client.send(thrift_call[:method],*thrift_call[:arguments])
80
80
  end
81
81
 
82
- results
82
+ results.flatten
83
83
  end
84
84
 
85
85
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hipster_sql_to_hbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Lescure