fix the lateral parsing issue and broken test
This commit is contained in:
parent
e03090a6a1
commit
bfe07dce53
2 changed files with 8 additions and 8 deletions
Language/SQL/SimpleSQL
|
@ -514,7 +514,8 @@ tref
|
|||
> tref = nonJoinTref >>= optionSuffix joinTrefSuffix
|
||||
> nonJoinTref = choice [try (TRQueryExpr <$> parens queryExpr)
|
||||
> ,TRParens <$> parens tref
|
||||
> ,TRLateral <$> (try (keyword_ "lateral") *> tref)
|
||||
> ,TRLateral <$> (try (keyword_ "lateral")
|
||||
> *> nonJoinTref)
|
||||
> ,try (TRFunction <$> name
|
||||
> <*> parens (commaSep scalarExpr))
|
||||
> ,TRSimple <$> name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue