hipster_sql_to_hbase 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/hipster_sql_to_hbase.gemspec +1 -1
- data/lib/sql_parser/sql_create_table.treetop +2 -2
- data/lib/sql_parser/sql_key_value_pair.treetop +12 -0
- 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: 54ffc9b8bf18201fdad9ffe557c5081f6b5310e4
|
4
|
+
data.tar.gz: 336285169f7154ce46907c8cd4c781cf50c31c38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4868fe9cc46fb3226124ff99879f016f8ffe670b5778b50040890287e65201e050ea7892e108d654dc26693847a6a52d6298054d9af93ada14fcdbb70342ef77
|
7
|
+
data.tar.gz: 06a6fdd29e5c08953895b28c7bc1aaaf3887e1c4949ee94c92fe7e068bf883c57d53c21bc8816916eb51491e27bd9f80ca6d2340dfe53799a6a45ae6e560e711
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
@@ -67,9 +67,9 @@ grammar SQLCreateTable
|
|
67
67
|
end
|
68
68
|
|
69
69
|
rule optional_default
|
70
|
-
SPACES "DEFAULT" SPACES (quoted_string / NULL_KEYWORD /
|
70
|
+
SPACES "DEFAULT" SPACES (quoted_string / NULL_KEYWORD / integer)
|
71
71
|
/
|
72
|
-
SPACES "default" SPACES (quoted_string / NULL_KEYWORD /
|
72
|
+
SPACES "default" SPACES (quoted_string / NULL_KEYWORD / integer)
|
73
73
|
end
|
74
74
|
|
75
75
|
rule optional_auto_increment
|
@@ -62,26 +62,38 @@ grammar SQLKeyValuePair
|
|
62
62
|
end
|
63
63
|
|
64
64
|
rule less_than_or_equal
|
65
|
+
"<=" SPACES "BINARY" { def eval; :<=; end }
|
66
|
+
/
|
65
67
|
"<=" { def eval; :<=; end }
|
66
68
|
end
|
67
69
|
|
68
70
|
rule greater_than_or_equal
|
71
|
+
">=" SPACES "BINARY" { def eval; :>= end }
|
72
|
+
/
|
69
73
|
">=" { def eval; :>= end }
|
70
74
|
end
|
71
75
|
|
72
76
|
rule less_than
|
77
|
+
"<" SPACES "BINARY" { def eval; :< end }
|
78
|
+
/
|
73
79
|
"<" { def eval; :< end }
|
74
80
|
end
|
75
81
|
|
76
82
|
rule greater_than
|
83
|
+
">" SPACES "BINARY" { def eval; :> end }
|
84
|
+
/
|
77
85
|
">" { def eval; :> end }
|
78
86
|
end
|
79
87
|
|
80
88
|
rule not_equals
|
89
|
+
"!=" SPACES "BINARY" { def eval; :"!=" end }
|
90
|
+
/
|
81
91
|
"!=" { def eval; :"!=" end }
|
82
92
|
end
|
83
93
|
|
84
94
|
rule equals
|
95
|
+
"=" SPACES "BINARY" { def eval; :"=" end }
|
96
|
+
/
|
85
97
|
"=" { def eval; :"=" end }
|
86
98
|
end
|
87
99
|
|