sql-parser
sql-parser copied to clipboard
SQL Parser for C++. Building C++ object structure from SQL statements.
#218 showed that issues with debug builds and recent GCC versions were not detected by the CI. Thus, this PR adds debug builds to all CI jobs and runs the...
When building with mode = debug it errors out on a warning: `bison_parser.cpp:5516:18: error: ‘void free(void*)’ called on unallocated object ‘yyssa’ [-Werror=free-nonheap-object]` This is a known bug both in bison...
I managed to compile and run on windows, here are the changes this should be in a header included by all public-facing files (there seems to be no such top-level...
Hello, if I want to print the full string content of the current child node, what do I need to do
error
CREATE TABLE students ( name TEXT, student_number INTEGER, city TEXT,grade DOUBLE, credits BIGINT )
Running the following code results in a segfault: ``` std::string query = "SELECT DISTINCT TOP 3 value, id FROM TableA"; hsql::SQLParserResult result; hsql::SQLParser::parse(query, &result); const hsql::SQLStatement* stmt = result.getStatement(0); ```...
There are several compilation errors with gcc 13. You need to include cstdint and add the std:: prefix as described in the error message. This fix is within the scope...
The possibility for quickly running/testing SQL statements with the parser is not documented in the README. Some issues, such as #243, could, for example, described and tested with the command...
While fiddling around with a Postgres instance, I noticed that our syntax for `COPY` statements is not 100% compliant to Postgres. In detail, we used `COPY table_a FROM 'path/to/tbl' WITH...