82 Commits

Author SHA1 Message Date
C.Solovev
1b32efe121 make llamadb compatible with Fluence 2019-06-28 22:01:04 +03:00
Danny Spencer
f2884c77d3
Update README.md 2017-12-06 00:40:28 -08:00
Danny Spencer
0c68e88837
Update README.md 2017-12-06 00:40:07 -08:00
Dan Spencer
b2de13b068 Fix travis script to build on nightly 2015-12-24 10:44:27 -08:00
Dan Spencer
91f965fbce Update to compile on Rust nightly 1.7.0 2015-12-24 10:33:07 -08:00
Dan Spencer
0c02fcd5b3 Implement LEFT JOIN!
Partially addresses issue #2
2015-04-23 00:07:32 -06:00
Dan Spencer
c7baa0b0f7 Parse standalone JOIN as implied INNER JOIN 2015-04-23 00:06:47 -06:00
Dan Spencer
0dcec266f9 Implement INNER JOIN!
Partially addresses issue #2
2015-04-23 00:04:56 -06:00
Dan Spencer
49f51979e4 Update if sexpression to accept multiple conditions
This will be useful in implementing the CASE expression later on.
2015-04-21 00:33:28 -06:00
Dan Spencer
2ee282a18d Make proper distinction between ambiguous and nonexistent column name
Fixes #20
2015-04-20 02:38:21 -06:00
Dan Spencer
3ac37d4f1e Parsed number literals as signed integer first 2015-04-16 10:30:38 -06:00
Dan Spencer
3c91650cc5 Add error message for attempting to insert NULL into non-NULL column 2015-04-16 10:21:27 -06:00
Dan Spencer
c860b2dd72 INSERT can now insert expressions 2015-04-16 10:21:05 -06:00
Dan Spencer
325e0709e6 Implement negate operator 2015-04-16 05:31:36 -06:00
Dan Spencer
1c9e7251f8 Add MIN, MAX aggregate functions 2015-04-16 04:30:24 -06:00
Dan Spencer
8b4152d25f AggregateFunction takes self: Box<Self> as argument 2015-04-16 04:15:03 -06:00
Dan Spencer
5c78ed84f8 Remove "first" aggregate function; it's not useful 2015-04-16 01:53:55 -06:00
Dan Spencer
10d2b5002f Use lisp-case for sexpression names 2015-04-15 14:34:49 -06:00
Dan Spencer
5fb3556641 Add error messages to the query execution module 2015-04-14 19:38:46 -06:00
Dan Spencer
2a8a588a21 Print execution time for queries 2015-04-14 19:12:18 -06:00
Dan Spencer
9eac1ae154 Update README and Usage guide 2015-04-14 16:56:53 -06:00
Dan Spencer
ede4a560fb Add travis script 2015-04-14 05:06:00 -06:00
Dan Spencer
710fe31858 Implement NULL columns 2015-04-14 03:05:32 -06:00
Dan Spencer
0f7f2e20a9 Remove bit-rotting B+Tree and pager implementations
These will likely be merged back in once their implementations are
complete.
2015-04-14 01:32:14 -06:00
Dan Spencer
5d3e889008 Fix unused variables, dead code 2015-04-14 01:30:45 -06:00
Dan Spencer
42985e09d7 Move "helper" ColumnValueOps functions into ColumnValueOpsExt
It desirable to keep ColumnValueOps small in order to reduce the
potential for logic errors in different ColumnValueOps implementations.
2015-04-14 00:34:05 -06:00
Dan Spencer
77153c1ac9 Parse NULL in expressions 2015-04-13 20:45:39 -06:00
Dan Spencer
ca2bad3fde Implement comparison operators: >, >=, <, <= 2015-04-13 20:36:07 -06:00
Dan Spencer
1bf11fd805 Adjust SExpression output 2015-04-13 08:35:24 -06:00
Dan Spencer
0314909581 HAVING 2015-04-13 08:33:22 -06:00
Dan Spencer
0060e5ac68 Add LICENSE 2015-04-13 07:47:00 -06:00
Dan Spencer
ddb28e6d04 COUNT(*) 2015-04-13 07:45:04 -06:00
Dan Spencer
f3e8a4e987 GROUP BY 2015-04-13 07:09:45 -06:00
Dan Spencer
15416d0e05 Properly yield scalar columns in grouped queries 2015-04-13 06:46:19 -06:00
Dan Spencer
6f9c43d8e6 Execute basic arithmetic operators 2015-04-13 06:46:19 -06:00
Dan Spencer
4b85ff0323 Add divide operator to parser 2015-04-13 06:46:19 -06:00
Dan Spencer
54e957ad24 Add number casts to Variant 2015-04-13 06:46:18 -06:00
Dan Spencer
2e72444919 Start implementing other aggregate functions, such as SUM 2015-04-13 06:46:18 -06:00
Dan Spencer
b43265336d Aggregate functions actually execute now! 2015-04-13 06:46:18 -06:00
Dan Spencer
4b76b7fe81 Add conversion methods to ColumnValueOps 2015-04-13 06:46:18 -06:00
Dan Spencer
ba3f05eb0e Query planner solves aggregate function calls! 2015-04-13 04:34:20 -06:00
Dan Spencer
172d98a5b8 Initialize env_logger to CLI 2015-04-13 04:34:19 -06:00
Dan Spencer
6e06d129b7 Fix indentation in SExpression format 2015-04-13 04:34:19 -06:00
Dan Spencer
56c7013c51 GroupInfo; more aggregate work 2015-04-13 04:34:19 -06:00
Dan Spencer
5da5d8a77f Change Compiler into QueryCompiler, new one for each query and subquery
Add query id
2015-04-13 04:34:19 -06:00
Dan Spencer
f4d0841224 Use incrementing source id variable inside Compiler, not callback 2015-04-13 04:34:19 -06:00
Dan Spencer
a4404ce2fe Move SELECT compilation into its own method 2015-04-13 04:34:19 -06:00
Dan Spencer
8a5d628bba Simplify SourceScope
Replace ColumnNames with Vec<Identifier>
Make fields private
2015-04-13 04:34:18 -06:00
Dan Spencer
f7c347a7ce Don't build FROM+WHERE from SourceScope data 2015-04-13 04:34:18 -06:00
Dan Spencer
67e13d6298 Refactor query plan compiler into a Compiler type 2015-04-13 04:34:18 -06:00