We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3123ebc commit d18742bCopy full SHA for d18742b
sql/src/main/scala/app/softnetwork/elastic/sql/parser/Parser.scala
@@ -106,13 +106,15 @@ trait Parser
106
107
def separator: PackratParser[Delimiter] = "," ^^ (_ => Separator)
108
109
- def valueExpr: PackratParser[PainlessScript] =
+ def valueExpr: PackratParser[PainlessScript] = {
110
// the order is important here
111
+ identifierWithWindowFunction |
112
identifierWithTransformation | // transformations applied to an identifier
113
identifierWithIntervalFunction |
114
identifierWithFunction | // fonctions applied to an identifier
115
identifierWithValue |
116
identifier
117
+ }
118
119
implicit def functionAsIdentifier(mf: Function): Identifier = mf match {
120
case id: Identifier => id
0 commit comments