queryparser: Analysis and parsing library for SQL queries.

[ database, library, mit ] [ Propose Tags ]

A library for parsing SQL queries into well-typed data structures, and producing easily quantifiable analyses from said data structures.

Currently this includes support for Hive, Vertica, and Presto dialects of SQL. Parsing for each dialect is provided in their own package, as queryparser-{dialect}

Versions [faq],
Dependencies aeson (>=0.8), base (==4.8.*), bytestring, containers, fixed-list, hashable, mtl (==2.2.*), parsec (==3.1.*), predicate-class, pretty (==1.1.*), QuickCheck, semigroups (>=0.16), text (==1.2.*), unordered-containers, yaml (==0.8.*) [details]
License MIT
Author Heli Wang, David Thomas, Matt Halverson
Maintainer heli@uber.com
Category Database
Uploaded by HeliWang at 2017-12-16T19:00:25Z
Distributions NixOS:
Downloads 1184 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-12-16 [all 3 reports]


  • Database
    • Sql
      • Database.Sql.Helpers
      • Database.Sql.Info
      • Database.Sql.Position
      • Database.Sql.Pretty
      • Database.Sql.Type
        • Database.Sql.Type.Names
        • Database.Sql.Type.Query
        • Database.Sql.Type.Schema
        • Database.Sql.Type.Scope
        • Database.Sql.Type.TableProps
        • Database.Sql.Type.Unused
      • Util
        • Database.Sql.Util.Columns
        • Database.Sql.Util.Eval
          • Database.Sql.Util.Eval.Concrete
        • Database.Sql.Util.Joins
        • Lineage
          • Database.Sql.Util.Lineage.ColumnPlus
          • Database.Sql.Util.Lineage.Table
        • Database.Sql.Util.Schema
        • Database.Sql.Util.Scope
        • Database.Sql.Util.Tables



Enable development level of strictness


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees