Commit Graph

346 Commits

Author SHA1 Message Date
Pedro Flemming fe35651bb5 Switch to MIT License (#52) 2017-07-07 17:43:44 +02:00
Tim Zimmermann 6a05b8e94b Add enum types for formerly 'simple' operands (#48)
* Add enum types for formerly 'simple' operands

* Use non-semantic names

* Formatting

* Add generated files
2017-06-29 13:40:24 +02:00
Tim Zimmermann 8913f9213d Fix: use correct format specifiers for int64 (#45)
* Fix: use correct format specifiers for int64
* Use iostream instead of stdio
2017-06-14 22:46:43 +02:00
Pedro Flemming 0939a8d6cd Enable -Werror (#47) 2017-06-14 20:17:22 +02:00
Pedro Flemming 09a96a9c88 Update bison source code 2017-06-06 22:15:19 +02:00
Pedro Flemming 1483a4a95a Add Hints per statement to SQL syntax. 2017-06-06 22:15:19 +02:00
Pedro Flemming f85a5e7b52 Prepared Statements (#43)
Changed PREPARE syntax to be closer to the standard.
2017-05-29 16:22:13 +02:00
Pedro Flemming 5e6cd2d84f Extend test suite. Build with -O3 by default. (#42)
* Change benchmarks and add -O3 to build
* Extended test suite. Makefile now buidls with -O3 by default. Added Makefile flag (mode=debug) to build with -g instead.
2017-05-26 15:18:52 -07:00
Pedro Flemming 128cd74670 fix token generator for negative numbers (#41) 2017-04-25 17:25:00 +02:00
Pedro Flemming 793258f872 Add capability for multi join table references (#40) 2017-04-21 22:03:12 +02:00
Pedro Flemming 0909c6a89a Documentation & Result Move Constructor (#39)
Updates documentation, adds a move constructor to SQLParserResult, fixes compile-time warnings
2017-04-21 16:15:07 +02:00
Pedro Flemming 9184d5d0c2 Merge pull request #34 from torpedro/misc
Interface Improvements
2017-04-14 15:15:23 +02:00
Pedro Flemming 927c8ec40a add tests and benchmarks for prepare and execute 2017-04-09 13:34:51 +02:00
Pedro Flemming e94e80e674 add various utility methods to SQLParserResult like releaseStatements 2017-04-08 03:18:58 +02:00
Pedro Flemming d318ef0de4 update tpch tests to use new interface 2017-04-07 16:28:33 +02:00
Pedro Flemming cfe69a44de update parser sources 2017-04-07 16:26:20 +02:00
Pedro Flemming 6b22e22162 update tests to use the new Parser interface 2017-04-07 16:26:00 +02:00
Pedro Flemming e16925e7a5 add parseSQLString method with output parameter instead of return value 2017-04-07 16:16:25 +02:00
Pedro Flemming 074c564cc4 move initialization of SQLParserResult to SQLParser from bison_parser 2017-04-07 16:07:14 +02:00
Pedro Flemming 9e558c7d22 Merge remote-tracking branch 'upstream/master' into misc 2017-04-07 15:48:51 +02:00
Pedro Flemming e6cd70f029 move sqlhelper into util/. Add convenience methods 2017-04-07 15:47:51 +02:00
Pedro Flemming b5bb364ab6 Merge pull request #33 from torpedro/build-install
Copy header files on `make install`
2017-04-07 15:47:28 +02:00
Pedro Flemming b63f1bed0e Merge branch 'master' into build-install 2017-04-07 15:36:20 +02:00
Pedro Flemming b843fe020e Merge pull request #32 from NanXiao/master
Check NULL value of result.
2017-04-07 15:33:48 +02:00
Pedro Flemming 1a97db687b update parser and lexer 2017-04-06 18:28:22 +02:00
Pedro Flemming de48a0bafd adjust define guard namings 2017-04-06 18:27:47 +02:00
Pedro Flemming 7bce903eb8 fix various const constraints and comments 2017-04-06 17:42:46 +02:00
Pedro Flemming eddd799c26 rename operators to match constant naming style. Move the enum out of Expr 2017-04-06 17:25:47 +02:00
Pedro Flemming 4d1278cb1f update lexer 2017-04-06 17:02:54 +02:00
Pedro Flemming ccf791eee2 change make dependendencies for parser so parser rebuild is not invoked on make: Nothing to be done for 'library'. 2017-04-06 17:02:40 +02:00
Nan Xiao 745f4dd816 Check NULL value of result. 2017-04-05 17:56:17 +08:00
Pedro 589a251ed7 add copy header files to install rule 2017-04-04 02:58:16 +02:00
Pedro 137f273410 update parser build 2017-03-08 20:36:06 +01:00
Pedro Flemming ad7a8c60dd Merge pull request #31 from torpedro/views
Views
2017-03-08 20:34:42 +01:00
Pedro 3e52bf1a66 Add test for grammar conflicts. Print summary at the end of tests 2017-03-08 19:28:25 +01:00
Pedro 39d0dbd9af Implement CREATE VIEW and DROP VIEW 2017-03-08 17:42:33 +01:00
Pedro Flemming 96f8b04359 Merge pull request #30 from torpedro/tpch-tests
add explicit test to TPC-H query properties
2017-03-08 17:23:13 +01:00
Pedro Flemming 353e25ae00 Merge pull request #29 from torpedro/tpch-tests
TPC-H Capabilities
2017-03-08 17:09:21 +01:00
Pedro 9a5a352a0b add explicit test to TPC-H query properties 2017-03-08 16:55:29 +01:00
Pedro a0e55035fd Implement NOT EXISTS 2017-03-07 15:53:22 +01:00
Pedro 177901816f add more join types 2017-03-07 15:49:49 +01:00
Pedro b4adfa5b74 implement IN operator 2017-03-07 15:44:44 +01:00
Pedro 052f20ed1d add additonal TPC-H queries for testing 2017-03-07 15:30:54 +01:00
Pedro bf255c65ac fix memory leaks 2017-03-07 15:09:39 +01:00
Pedro b7828e698e implement CASE WHEN expressions 2017-03-07 14:55:51 +01:00
Pedro 5605dbab7e implement EXISTS conditional 2017-03-07 14:37:19 +01:00
Pedro cf1c84d46d Add select statement as possible operand in expressions 2017-03-07 14:22:52 +01:00
Pedro 35b8b569eb Implement BETWEEN operator 2017-03-07 13:49:56 +01:00
Pedro 9ecfa8e8f6 Allow function expressions to have variable length of parameters 2017-03-07 02:51:04 +01:00
Pedro f82504b319 Allow order by to define a list of expressions to order by 2017-03-07 02:30:44 +01:00