hipster_sql_to_hbase 0.3.12 → 0.3.20

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: 6241679a495a926825f124e8428c7f20b3d90a77
4
- data.tar.gz: 1384a857e1813280a94fedbaac16ae2f73a3c765
3
+ metadata.gz: 06370ab4021c06ed24b6e759277bb688747e314a
4
+ data.tar.gz: c568c4dba9c08d10a18a99ae8c546e3b3b2a4818
5
5
  SHA512:
6
- metadata.gz: c1c3ca79756dbf07e5d24484b2ea19f5b9d81423887d969191c38e7a0eb55fbe917a5cb420644d832ef75986a3fe88bee5289b0d3aacd8490bef878d92cd7c80
7
- data.tar.gz: a4ea6023e4e20976ca514ec22c2baf3141458a00122a4fbd3edf0e5204cca11ae4a994143a82c7246baacf5890dab886bd2e5bcde40d59d51cb6323a01853e1b
6
+ metadata.gz: 71572908c80abe60a67d2451166f1a4c69455756b2a84da66aab68b02487d641406a8b71449fefba92d166b91eed7490739fce57688372c2ba75ca4493c61ac3
7
+ data.tar.gz: 319617a658d3b75e039e24124f5563e640a00103e8e411eb6ebde629ad6729c28418958fe0bc12b52e99c2d0bb79865ac576ce7e3c6ad16aca06f81d67e83155
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.12
1
+ 0.3.20
@@ -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.3.12"
5
+ s.version = "0.3.20"
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"]
@@ -2,8 +2,8 @@ grammar SQLPrimitives
2
2
  include SQLTokens
3
3
 
4
4
  rule primitive
5
- OPEN_PARENS primitive CLOSE_PARENS {
6
- def eval
5
+ OPEN_PARENS simple_primitive CLOSE_PARENS {
6
+ def eval
7
7
  simple_primitive.eval
8
8
  end
9
9
  }
@@ -12,12 +12,20 @@ grammar SQLPrimitives
12
12
  end
13
13
 
14
14
  rule simple_primitive
15
- datetime / date / boolean / quoted_string / backtick_string / number / string
15
+ datetime / date / boolean / null / quoted_string / backtick_string / number / string
16
16
  end
17
17
 
18
18
  rule optional_spaces
19
19
  SPACE*
20
20
  end
21
+
22
+ rule null
23
+ NULL_KEYWORD {
24
+ def eval
25
+ nil
26
+ end
27
+ }
28
+ end
21
29
 
22
30
  rule boolean
23
31
  TRUE / FALSE
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.3.12
4
+ version: 0.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Lescure