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 +4 -4
- data/VERSION +1 -1
- data/hipster_sql_to_hbase.gemspec +1 -1
- data/lib/sql_parser/sql_primitives.treetop +11 -3
- 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: 06370ab4021c06ed24b6e759277bb688747e314a
|
4
|
+
data.tar.gz: c568c4dba9c08d10a18a99ae8c546e3b3b2a4818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71572908c80abe60a67d2451166f1a4c69455756b2a84da66aab68b02487d641406a8b71449fefba92d166b91eed7490739fce57688372c2ba75ca4493c61ac3
|
7
|
+
data.tar.gz: 319617a658d3b75e039e24124f5563e640a00103e8e411eb6ebde629ad6729c28418958fe0bc12b52e99c2d0bb79865ac576ce7e3c6ad16aca06f81d67e83155
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.20
|
@@ -2,8 +2,8 @@ grammar SQLPrimitives
|
|
2
2
|
include SQLTokens
|
3
3
|
|
4
4
|
rule primitive
|
5
|
-
OPEN_PARENS
|
6
|
-
|
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
|