Commit Graph

372 Commits

Author SHA1 Message Date
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
Pedro 36adab70c5 add 10 tpch style queries and test for them 2017-03-07 02:01:00 +01:00
Pedro Flemming 42049b4d56 Benchmarking (#27)
Adds benchmarking capabilities and small grammar fix.
2017-03-06 18:30:35 +01:00
Pedro Flemming 23621fa862 Merge pull request #25 from torpedro/use-microtest
Use microtest
2017-02-14 10:00:49 +01:00
Pedro de56d9a7ea fix error in parser destructor 2017-02-10 21:42:02 +01:00
Pedro 681fbe42d2 refactor tests to use the microtest framework 2017-02-10 21:41:34 +01:00
Pedro Flemming 2890cd368e fix example for recent API changes 2017-02-08 13:51:50 +01:00
Pedro Flemming 2bce9cc154 Merge pull request #24 from torpedro/mem-leaks
Fix memory leaks
2017-02-08 13:28:41 +01:00
Pedro Flemming d576350e1e add auto memory leak check with valgrind to test script 2017-02-08 11:59:24 +01:00
Pedro 1f183147ec fix memory leaks when parsing fails 2017-02-08 04:56:07 +01:00
Pedro 043e34b70c implement test for failing grammar in sql_grammar_test.cpp 2017-02-08 04:55:45 +01:00
Pedro 5041dccf70 fix all leaks triggered by sql_grammar_test.cpp 2017-02-08 04:27:04 +01:00
Pedro 69e9673763 fixed leaks triggered by sql_tests.cpp 2017-02-08 04:10:26 +01:00
Pedro a362e86da1 resolved memory leaks triggered in select tests 2017-02-08 03:54:38 +01:00
Pedro Flemming 89a81848b4 Merge pull request #23 from torpedro/statements-clean
Clean-Up and Reformatting of Code
2017-02-08 03:15:15 +01:00
Pedro 4aca7d035f fixed inconsistend member naming. fixed building of error result in parser 2017-02-08 03:07:51 +01:00
Pedro ec46b28f32 improved interface of SQLParserResult 2017-02-08 02:59:07 +01:00
Pedro 5cf62f6b1d add documentation to parser and parsing result 2017-02-08 02:33:42 +01:00
Pedro 28214e8043 change indent to spaces=2 and indent access modifiers. minor style changes 2017-02-08 02:16:52 +01:00
Pedro 8582c7f901 remove typedef enums and inline methods. 2017-02-08 02:02:30 +01:00
Pedro 02b7b880ed remove inline functions from Expr 2017-02-08 01:55:59 +01:00
Pedro Flemming 0946624d54 moved implementations from header files to statements.cpp 2017-02-03 16:50:18 +01:00
Pedro Flemming eb262d1bde Update README. trigger travis build and add badge 2016-05-24 15:34:42 +02:00
Pedro Flemming ea333afa15 update readme with clang version 2016-05-24 15:15:01 +02:00
Pedro Flemming 61be0684cf update build after merging #17 2016-05-24 15:09:11 +02:00