├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── FUTURE.md ├── LICENSE ├── README.md ├── Setup.hs ├── bench └── Bench.hs ├── compat ├── Data │ └── Hashable.hs └── Test │ └── QuickCheck.hs ├── demo ├── CHANGELOG.md ├── LICENSE ├── Setup.hs ├── queryparser-demo.cabal └── src │ └── Demo.hs ├── dialects ├── hive │ ├── CHANGELOG.md │ ├── LICENSE │ ├── queryparser-hive.cabal │ └── src │ │ └── Database │ │ └── Sql │ │ └── Hive │ │ ├── Parser.hs │ │ ├── Parser │ │ ├── Internal.hs │ │ └── Token.hs │ │ ├── Scanner.hs │ │ ├── Token.hs │ │ └── Type.hs ├── presto │ ├── CHANGELOG.md │ ├── LICENSE │ ├── queryparser-presto.cabal │ └── src │ │ └── Database │ │ └── Sql │ │ └── Presto │ │ ├── Parser.hs │ │ ├── Parser │ │ ├── Internal.hs │ │ └── Token.hs │ │ ├── Scanner.hs │ │ ├── Token.hs │ │ └── Type.hs └── vertica │ ├── CHANGELOG.md │ ├── LICENSE │ ├── queryparser-vertica.cabal │ └── src │ └── Database │ └── Sql │ └── Vertica │ ├── Parser.hs │ ├── Parser │ ├── IngestionOptions.hs │ ├── Internal.hs │ ├── Shared.hs │ └── Token.hs │ ├── Scanner.hs │ ├── Token.hs │ └── Type.hs ├── queryparser.cabal ├── src └── Database │ └── Sql │ ├── Helpers.hs │ ├── Info.hs │ ├── Position.hs │ ├── Pretty.hs │ ├── Type.hs │ ├── Type │ ├── Names.hs │ ├── Query.hs │ ├── Schema.hs │ ├── Scope.hs │ ├── TableProps.hs │ └── Unused.hs │ └── Util │ ├── Columns.hs │ ├── Eval.hs │ ├── Eval │ └── Concrete.hs │ ├── Joins.hs │ ├── Lineage │ ├── ColumnPlus.hs │ └── Table.hs │ ├── Schema.hs │ ├── Scope.hs │ └── Tables.hs ├── stack.yaml └── test ├── Database └── Sql │ ├── Hive │ ├── Parser │ │ └── Test.hs │ └── Scanner │ │ └── Test.hs │ ├── Info │ └── Test.hs │ ├── Position │ └── Test.hs │ ├── Presto │ ├── Parser │ │ └── Test.hs │ └── Scanner │ │ └── Test.hs │ ├── Pretty │ └── Test.hs │ ├── Util │ ├── Catalog.hs │ ├── Catalog │ │ └── Test.hs │ ├── Columns │ │ └── Test.hs │ ├── Eval │ │ └── Test.hs │ ├── Joins │ │ └── Test.hs │ ├── Json │ │ └── Test.hs │ ├── Lineage │ │ ├── ColumnPlus │ │ │ └── Test.hs │ │ └── Table │ │ │ └── Test.hs │ ├── Schema │ │ └── Test.hs │ ├── Scope │ │ └── Test.hs │ ├── Tables │ │ └── Test.hs │ └── Test.hs │ └── Vertica │ ├── Parser │ └── Test.hs │ └── Scanner │ └── Test.hs ├── LICENSE ├── Test └── HUnit │ └── Ticket.hs ├── Tests.hs ├── goldens └── scope │ ├── ALIASTABLE.broken │ ├── ALTERTABLERENAME │ ├── AMBIGUOUSTABLE │ ├── AMBIGUOUSTABLECOLUMN │ ├── ANOTHERSUBQUERY │ ├── CREATEPROJECTION │ ├── DEFAULTAMBIGUOUSTABLE │ ├── DEFAULTAMBIGUOUSTABLE2 │ ├── DEFAULTCREATEPROJECTION │ ├── DEFAULTEXPLODE │ ├── DEFAULTEXPLODE2 │ ├── DEFAULTGROUP │ ├── DEFAULTMISSING │ ├── DEFAULTMISSINGALTERTABLERENAME │ ├── DEFAULTMISSINGCOLUMN │ ├── DEFAULTMISSINGSCHEMA │ ├── DEFAULTMISSINGTABLE │ ├── DEFAULTOTHERFOO │ ├── DEFAULTSEMI │ ├── DEFAULTSEMI2 │ ├── DEFAULTSEMI3 │ ├── DEFAULTSEMI4 │ ├── DEFAULTSETSCHEMA │ ├── DEFAULTTWOJOINS │ ├── DEFAULTTWOJOINS2 │ ├── DEFAULTUNINTRODUCEDTABLE │ ├── EXPLODE │ ├── EXPLODE2 │ ├── GROUP │ ├── MISSINGCOL.broken │ ├── MISSINGCOLUMN │ ├── MISSINGSCHEMA │ ├── MISSINGTABLE │ ├── MORESEMI │ ├── MORESEMI2 │ ├── MORESEMI3.broken │ ├── NATURAL.broken │ ├── ORDER │ ├── ORDER2 │ ├── OTHERFOO │ ├── PATHOLOGICALSEMI │ ├── PATHOLOGICALSEMI2 │ ├── PATHOLOGICALSEMI3 │ ├── PATHOLOGICALSEMI4 │ ├── QUALMISSING │ ├── SEMIJOIN │ ├── SEMIJOIN2 │ ├── SETSCHEMA │ ├── SIMPLE │ ├── SUBQUERY │ ├── SUBQUERY2 │ ├── SUBSELECTALIAS │ ├── SUBSELECTGROUPBY │ ├── TRICKY │ ├── TRICKY2 │ ├── TWOJOINS │ ├── TWOJOINS2 │ ├── UNINTRODUCEDTABLE │ └── USING.broken └── queryparser-test.cabal /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /FUTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/FUTURE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/Setup.hs -------------------------------------------------------------------------------- /bench/Bench.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/bench/Bench.hs -------------------------------------------------------------------------------- /compat/Data/Hashable.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/compat/Data/Hashable.hs -------------------------------------------------------------------------------- /compat/Test/QuickCheck.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/compat/Test/QuickCheck.hs -------------------------------------------------------------------------------- /demo/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/demo/CHANGELOG.md -------------------------------------------------------------------------------- /demo/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/demo/LICENSE -------------------------------------------------------------------------------- /demo/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /demo/queryparser-demo.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/demo/queryparser-demo.cabal -------------------------------------------------------------------------------- /demo/src/Demo.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/demo/src/Demo.hs -------------------------------------------------------------------------------- /dialects/hive/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/CHANGELOG.md -------------------------------------------------------------------------------- /dialects/hive/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/LICENSE -------------------------------------------------------------------------------- /dialects/hive/queryparser-hive.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/queryparser-hive.cabal -------------------------------------------------------------------------------- /dialects/hive/src/Database/Sql/Hive/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/src/Database/Sql/Hive/Parser.hs -------------------------------------------------------------------------------- /dialects/hive/src/Database/Sql/Hive/Parser/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/src/Database/Sql/Hive/Parser/Internal.hs -------------------------------------------------------------------------------- /dialects/hive/src/Database/Sql/Hive/Parser/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/src/Database/Sql/Hive/Parser/Token.hs -------------------------------------------------------------------------------- /dialects/hive/src/Database/Sql/Hive/Scanner.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/src/Database/Sql/Hive/Scanner.hs -------------------------------------------------------------------------------- /dialects/hive/src/Database/Sql/Hive/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/src/Database/Sql/Hive/Token.hs -------------------------------------------------------------------------------- /dialects/hive/src/Database/Sql/Hive/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/hive/src/Database/Sql/Hive/Type.hs -------------------------------------------------------------------------------- /dialects/presto/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/CHANGELOG.md -------------------------------------------------------------------------------- /dialects/presto/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/LICENSE -------------------------------------------------------------------------------- /dialects/presto/queryparser-presto.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/queryparser-presto.cabal -------------------------------------------------------------------------------- /dialects/presto/src/Database/Sql/Presto/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/src/Database/Sql/Presto/Parser.hs -------------------------------------------------------------------------------- /dialects/presto/src/Database/Sql/Presto/Parser/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/src/Database/Sql/Presto/Parser/Internal.hs -------------------------------------------------------------------------------- /dialects/presto/src/Database/Sql/Presto/Parser/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/src/Database/Sql/Presto/Parser/Token.hs -------------------------------------------------------------------------------- /dialects/presto/src/Database/Sql/Presto/Scanner.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/src/Database/Sql/Presto/Scanner.hs -------------------------------------------------------------------------------- /dialects/presto/src/Database/Sql/Presto/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/src/Database/Sql/Presto/Token.hs -------------------------------------------------------------------------------- /dialects/presto/src/Database/Sql/Presto/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/presto/src/Database/Sql/Presto/Type.hs -------------------------------------------------------------------------------- /dialects/vertica/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/CHANGELOG.md -------------------------------------------------------------------------------- /dialects/vertica/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/LICENSE -------------------------------------------------------------------------------- /dialects/vertica/queryparser-vertica.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/queryparser-vertica.cabal -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Parser.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Parser/IngestionOptions.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Parser/IngestionOptions.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Parser/Internal.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Parser/Internal.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Parser/Shared.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Parser/Shared.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Parser/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Parser/Token.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Scanner.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Scanner.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Token.hs -------------------------------------------------------------------------------- /dialects/vertica/src/Database/Sql/Vertica/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/dialects/vertica/src/Database/Sql/Vertica/Type.hs -------------------------------------------------------------------------------- /queryparser.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/queryparser.cabal -------------------------------------------------------------------------------- /src/Database/Sql/Helpers.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Helpers.hs -------------------------------------------------------------------------------- /src/Database/Sql/Info.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Info.hs -------------------------------------------------------------------------------- /src/Database/Sql/Position.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Position.hs -------------------------------------------------------------------------------- /src/Database/Sql/Pretty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Pretty.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type/Names.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type/Names.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type/Query.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type/Query.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type/Schema.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type/Schema.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type/Scope.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type/Scope.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type/TableProps.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type/TableProps.hs -------------------------------------------------------------------------------- /src/Database/Sql/Type/Unused.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Type/Unused.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Columns.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Columns.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Eval.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Eval.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Eval/Concrete.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Eval/Concrete.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Joins.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Joins.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Lineage/ColumnPlus.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Lineage/ColumnPlus.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Lineage/Table.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Lineage/Table.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Schema.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Schema.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Scope.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Scope.hs -------------------------------------------------------------------------------- /src/Database/Sql/Util/Tables.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/src/Database/Sql/Util/Tables.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/stack.yaml -------------------------------------------------------------------------------- /test/Database/Sql/Hive/Parser/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Hive/Parser/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Hive/Scanner/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Hive/Scanner/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Info/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Info/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Position/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Position/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Presto/Parser/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Presto/Parser/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Presto/Scanner/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Presto/Scanner/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Pretty/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Pretty/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Catalog.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Catalog.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Catalog/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Catalog/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Columns/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Columns/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Eval/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Eval/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Joins/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Joins/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Json/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Json/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Lineage/ColumnPlus/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Lineage/ColumnPlus/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Lineage/Table/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Lineage/Table/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Schema/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Schema/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Scope/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Scope/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Tables/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Tables/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Util/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Util/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Vertica/Parser/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Vertica/Parser/Test.hs -------------------------------------------------------------------------------- /test/Database/Sql/Vertica/Scanner/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Database/Sql/Vertica/Scanner/Test.hs -------------------------------------------------------------------------------- /test/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/LICENSE -------------------------------------------------------------------------------- /test/Test/HUnit/Ticket.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Test/HUnit/Ticket.hs -------------------------------------------------------------------------------- /test/Tests.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/Tests.hs -------------------------------------------------------------------------------- /test/goldens/scope/ALIASTABLE.broken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/ALIASTABLE.broken -------------------------------------------------------------------------------- /test/goldens/scope/ALTERTABLERENAME: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/ALTERTABLERENAME -------------------------------------------------------------------------------- /test/goldens/scope/AMBIGUOUSTABLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/AMBIGUOUSTABLE -------------------------------------------------------------------------------- /test/goldens/scope/AMBIGUOUSTABLECOLUMN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/AMBIGUOUSTABLECOLUMN -------------------------------------------------------------------------------- /test/goldens/scope/ANOTHERSUBQUERY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/ANOTHERSUBQUERY -------------------------------------------------------------------------------- /test/goldens/scope/CREATEPROJECTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/CREATEPROJECTION -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTAMBIGUOUSTABLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTAMBIGUOUSTABLE -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTAMBIGUOUSTABLE2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTAMBIGUOUSTABLE2 -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTCREATEPROJECTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTCREATEPROJECTION -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTEXPLODE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTEXPLODE -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTEXPLODE2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTEXPLODE2 -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTGROUP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTGROUP -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTMISSING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTMISSING -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTMISSINGALTERTABLERENAME: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTMISSINGALTERTABLERENAME -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTMISSINGCOLUMN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTMISSINGCOLUMN -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTMISSINGSCHEMA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTMISSINGSCHEMA -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTMISSINGTABLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTMISSINGTABLE -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTOTHERFOO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTOTHERFOO -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTSEMI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTSEMI -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTSEMI2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTSEMI2 -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTSEMI3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTSEMI3 -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTSEMI4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTSEMI4 -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTSETSCHEMA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTSETSCHEMA -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTTWOJOINS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTTWOJOINS -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTTWOJOINS2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTTWOJOINS2 -------------------------------------------------------------------------------- /test/goldens/scope/DEFAULTUNINTRODUCEDTABLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/DEFAULTUNINTRODUCEDTABLE -------------------------------------------------------------------------------- /test/goldens/scope/EXPLODE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/EXPLODE -------------------------------------------------------------------------------- /test/goldens/scope/EXPLODE2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/EXPLODE2 -------------------------------------------------------------------------------- /test/goldens/scope/GROUP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/GROUP -------------------------------------------------------------------------------- /test/goldens/scope/MISSINGCOL.broken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MISSINGCOL.broken -------------------------------------------------------------------------------- /test/goldens/scope/MISSINGCOLUMN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MISSINGCOLUMN -------------------------------------------------------------------------------- /test/goldens/scope/MISSINGSCHEMA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MISSINGSCHEMA -------------------------------------------------------------------------------- /test/goldens/scope/MISSINGTABLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MISSINGTABLE -------------------------------------------------------------------------------- /test/goldens/scope/MORESEMI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MORESEMI -------------------------------------------------------------------------------- /test/goldens/scope/MORESEMI2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MORESEMI2 -------------------------------------------------------------------------------- /test/goldens/scope/MORESEMI3.broken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/MORESEMI3.broken -------------------------------------------------------------------------------- /test/goldens/scope/NATURAL.broken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/NATURAL.broken -------------------------------------------------------------------------------- /test/goldens/scope/ORDER: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/ORDER -------------------------------------------------------------------------------- /test/goldens/scope/ORDER2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/ORDER2 -------------------------------------------------------------------------------- /test/goldens/scope/OTHERFOO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/OTHERFOO -------------------------------------------------------------------------------- /test/goldens/scope/PATHOLOGICALSEMI: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/PATHOLOGICALSEMI -------------------------------------------------------------------------------- /test/goldens/scope/PATHOLOGICALSEMI2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/PATHOLOGICALSEMI2 -------------------------------------------------------------------------------- /test/goldens/scope/PATHOLOGICALSEMI3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/PATHOLOGICALSEMI3 -------------------------------------------------------------------------------- /test/goldens/scope/PATHOLOGICALSEMI4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/PATHOLOGICALSEMI4 -------------------------------------------------------------------------------- /test/goldens/scope/QUALMISSING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/QUALMISSING -------------------------------------------------------------------------------- /test/goldens/scope/SEMIJOIN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SEMIJOIN -------------------------------------------------------------------------------- /test/goldens/scope/SEMIJOIN2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SEMIJOIN2 -------------------------------------------------------------------------------- /test/goldens/scope/SETSCHEMA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SETSCHEMA -------------------------------------------------------------------------------- /test/goldens/scope/SIMPLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SIMPLE -------------------------------------------------------------------------------- /test/goldens/scope/SUBQUERY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SUBQUERY -------------------------------------------------------------------------------- /test/goldens/scope/SUBQUERY2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SUBQUERY2 -------------------------------------------------------------------------------- /test/goldens/scope/SUBSELECTALIAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SUBSELECTALIAS -------------------------------------------------------------------------------- /test/goldens/scope/SUBSELECTGROUPBY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/SUBSELECTGROUPBY -------------------------------------------------------------------------------- /test/goldens/scope/TRICKY: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/TRICKY -------------------------------------------------------------------------------- /test/goldens/scope/TRICKY2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/TRICKY2 -------------------------------------------------------------------------------- /test/goldens/scope/TWOJOINS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/TWOJOINS -------------------------------------------------------------------------------- /test/goldens/scope/TWOJOINS2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/TWOJOINS2 -------------------------------------------------------------------------------- /test/goldens/scope/UNINTRODUCEDTABLE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/UNINTRODUCEDTABLE -------------------------------------------------------------------------------- /test/goldens/scope/USING.broken: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/goldens/scope/USING.broken -------------------------------------------------------------------------------- /test/queryparser-test.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uber/queryparser/HEAD/test/queryparser-test.cabal --------------------------------------------------------------------------------