sql-parser
sql-parser copied to clipboard
SQL Parser for C++. Building C++ object structure from SQL statements.
A compile error occurs when including the `"SQLParser.h"` in another project. (sql_parser as third-party) ``` /thirdparty/sql-parser/src/sql/CreateStatement.h:74:67: error: 'dynamic_cast' not permitted with '-fno-rtti' 74 | ynamic_cast(tableElem)) { | ^ /thirdparty/sql-parser/src/sql/CreateStatement.h:76:82: error:...
As mentioned by @JoyBinY in #213, the parser does not handle negative numerical literals correctly in all cases, especially for `INSERT` statements. Code for Reproduction: ```SQL INSERT INTO foo VALUES...
While going through the Public BI Benchmark, I found multiple queries with `HAVING` clauses but no `GROUP BY` columns (e.g., [1, 2, 3]). I'd like to discuss whether we want...
The current `docs` directory contains outdated information.
We should investigate all (edge) cases for queries with nested set operations. This issue came up in #138. In the current version Q1 EXCEPT Q2 EXCEPT Q3 == Q1 EXCEPT...
Support `CHARACTER(N)` as a token for the character data type while supporting keywords as aliases. Example with a keyword as alias: ``` SELECT student.id AS character FROM student; ``` Flex...
With #193, a `clang-format`-based format script was added. However, the CI does not perform a static code check to enforce a certain code style/formatting. Further discussions can be found in...
In [Hyrise](https://github.com/hyrise/hyrise), we partially support the TPC-DS benchmark. In the past, efforts were undertaken to add the TPC-DS queries to the test suite to automatically determine which queries can be...
https://github.com/hyrise/sql-parser/blob/0de1890579fc4d8918b7bf4a6b3b316cd60cd9fa/benchmark/benchmark.cpp#L1