sql-parser
Here are 56 public repositories matching this topic...
Light and fast
-
Updated
Oct 14, 2019 - TypeScript
MySQL 8.0 supports Descending Indexes, export doesn't recognize the optional "DESC" key_part during parsing. DESC option creates invalid export. "DESC" flag is parsed as the column name in output. ADD KEY `entries__ug` (`DESC`);
Index can be created with the follow
SQL(select) parser written with jison. parse SQL into abstract syntax tree(AST) and stringify back to SQL. sql grammar follows https://dev.mysql.com/doc/refman/5.7/en/select.html
-
Updated
May 20, 2020 - JavaScript
simply SQL Parser for Go ( powered by vitess and TiDB )
-
Updated
Jan 29, 2020 - Go
A light weight single header alternative to DBMS
-
Updated
May 2, 2020 - C++
SQL DDL to JSON Schema Converter
-
Updated
Mar 23, 2020 - TypeScript
Query builder for PostgreSQL backed by query parser
-
Updated
Oct 29, 2018 - PHP
Uses tokenized query returned by python-sqlparse and generates query metadata
-
Updated
Jun 6, 2020 - Python
Parse MySQL schemas in PHP, fast
-
Updated
Jun 20, 2019 - PHP
Parse TPC-H Queries
It'd be great to be able to successfully say we can parse all TPC-H queries without error.
A list of the ones presto uses (with some additional presto-specific stuff):
https://github.com/prestodb/presto/tree/master/presto-parser/src/test/resources/tpch/queries
SQL into ES DSL (Write on SQL, Search on ElasticSearch)
-
Updated
Dec 18, 2019 - PHP
抽象语法树的设计与实现 ( PlayAST : Play With Abstract Syntax Tree )
-
Updated
Jan 11, 2020 - JavaScript
LALR(1) parser generator for Rust based on Lemon + SQL parser
-
Updated
Apr 17, 2020 - Rust
Reforms is repository for framework that help in development with SQL and ORM technics
-
Updated
Dec 3, 2017 - Java
解析 mysql create table 语句,用于通过建表语句生成 model 代码文件。
-
Updated
Mar 4, 2020 - JavaScript
This class can parse SQL to get query type, tables, field values, etc.. It takes an string with a SQL statements and parses it to extract its different components. Currently the class can extract the SQL query method, the names of the tables involved in the query and the field values that are passed as parameters. This parser is pretty light respect phpsqlparser or others php sql parser.
-
Updated
Sep 11, 2019 - PHP
String manipulation/helper for SQL Query
-
Updated
May 24, 2019 - Go
-
Updated
Jan 1, 2018 - Scala
一个 用 C# 实现的 用 Sql select DataTable 资料 的 程序
-
Updated
Jul 8, 2018 - C#
Improve this page
Add a description, image, and links to the sql-parser topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the sql-parser topic, visit your repo's landing page and select "manage topics."


If a column name within a SELECT statement equals an SQL keyword, the parser evaluates the query as invalid.
Example:
This is also the case in TPC-DS queries 66 and 74.