diff options
author | Mehant Baid <mehantr@gmail.com> | 2014-05-20 15:26:01 -0700 |
---|---|---|
committer | Mehant Baid <mehantr@gmail.com> | 2014-05-20 16:56:38 -0700 |
commit | 935095ef15ecef13eac194bdcc48314f1d59a270 (patch) | |
tree | f07b918c8fe8b5aea532a8e0565d37e4d90f8e2a /common | |
parent | 68f4bdb403225d58a5d9d68b4de361d18d3a8bc3 (diff) |
Fix ExprLexer to correctly deserialize decimal data type.
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g b/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g index 58ed215b7..e3a0e34bf 100644 --- a/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g +++ b/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g @@ -55,12 +55,12 @@ INTERVAL : 'interval' | 'INTERVAL'; INTERVALYEAR : 'intervalyear' | 'INTERVALYEAR'; INTERVALDAY : 'intervalday' | 'INTERVALDAY'; Period : '.'; -DECIMAL9 : 'decimal9'; -DECIMAL18 : 'decimal18'; -DECIMAL28DENSE : 'decimal28dense'; -DECIMAL28SPARSE : 'decimal28sparse'; -DECIMAL38DENSE : 'decimal38dense'; -DECIMAL38SPARSE : 'decimal38sparse'; +DECIMAL9 : 'decimal9' | 'DECIMAL9'; +DECIMAL18 : 'decimal18' | 'DECIMAL18'; +DECIMAL28DENSE : 'decimal28dense' | 'DECIMAL28DENSE'; +DECIMAL28SPARSE : 'decimal28sparse' | 'DECIMAL28SPARSE'; +DECIMAL38DENSE : 'decimal38dense' | 'DECIMAL38DENSE'; +DECIMAL38SPARSE : 'decimal38sparse' | 'DECIMAL38SPARSE'; Or : '||' | 'or' | 'OR' | 'Or'; And : '&&' | 'and' | 'AND' ; Equals : '==' | '='; |