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 +4 -4
- data/hipster_sql_to_hbase.gemspec +1 -1
- data/lib/adapter/hbase.rb +1 -4
- data/lib/executor.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29362799309af2277d1327165b613ee871d193d2
|
4
|
+
data.tar.gz: 38ddeb84881bf61e71c364b5b99794c2ac0be830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53ad1b67e96c420b630b8c26d764cb6e9563bc01d7d29e20ca0d4d96787cd49d7fac42283f28d95ed1eefa108ef68e3f1fad64d60543dc24e666d6569a500dfe
|
7
|
+
data.tar.gz: bacf8832df5718a55db4b456cff25ccaf4c03a70a22e1f2853c29cd0a8f492710e0e4edb1038eeb401224ded4ad607ed1411e199b10d077c5ddc5feaecf0aead
|
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