Parsing and analysis of Vertica, Hive, and Presto SQL.
Browse cluster: Cluster 33 →Queryparser is an open-source library for parsing and analyzing SQL queries across three dialects: Vertica, Hive, and Presto. The project converts SQL queries into an abstract syntax tree that can be transformed through name resolution to fully qualify identifiers, then performs various analyses on the resolved queries such as identifying accessed tables and columns, detecting joins, and computing table and column lineage. It is written in Haskell and built with the Stack build tool, providing utility functions for SQL analysis that constitute the library's primary value.