Commit Graph

30 Commits

Author SHA1 Message Date
Aaron Son
d0a6487b19 dolt/go/libraries/doltcore/row: Remove Format_7_18 references. 2019-07-12 10:19:45 -07:00
Aaron Son
e7e1e271f4 dolt/go/store: types: Value Hash takes *format. 2019-07-12 10:11:23 -07:00
Zach Musgrave
9a2272740b Replaced forked mysql parser with vitess.io 2019-06-25 16:56:13 -07:00
Brian Hendriks
de36628918 update paths 2019-06-21 12:06:08 -07:00
Brian Hendriks
6ae6d7e595 move store files to the structure we want 2019-06-21 11:55:01 -07:00
Zach Musgrave
32756c8729 Fixed a bug in missing primary key detection, fixed error string tests in bats (and added a few more tests) 2019-05-20 15:42:57 -07:00
Zach Musgrave
cef58cfb19 Better error condition tests for insert and update, and better error messages for failed constraints 2019-05-20 15:42:57 -07:00
Zach Musgrave
89914439b5 Added support for unary expressions. Still needs some work. 2019-05-20 15:42:11 -07:00
Brian Hendriks
3c4ab57e0c test fixes 2019-05-17 16:57:56 -07:00
Brian Hendriks
2f7a95b635 LesserValues 2019-05-17 16:57:56 -07:00
Zach Musgrave
48c2f2a56c First pass at order by, only smoke test. Also extracted a constant for unknown column error messages. 2019-05-10 14:13:24 -07:00
Aaron Son
dcedb2ee5c Merge remote-tracking branch 'origin/master' into aaron/dolthubapi-context-everywhere-and-always 2019-04-30 15:54:45 -07:00
Zach Musgrave
9b29512150 Rewrote where clause handling in preparation for making it work with joins 2019-04-30 09:15:26 -07:00
Aaron Son
bd09367cff dolt/go/libraries/doltcore/doltdb/table.go: Remove context.TODO. 2019-04-29 15:23:41 -07:00
Aaron Son
7366d8087b libraries/doltcore/doltdb: Iterate on ctx. 2019-04-26 16:56:54 -07:00
Aaron Son
20126ba9cf go,dolt/go: Update for noms context propagation. 2019-04-26 14:34:06 -07:00
Aaron Son
76070f5561 dolt/go/libraries/doltcore/sql: Propagate ctx. 2019-04-24 20:56:56 -07:00
Aaron Son
946282ab0b go,dolt/go: Context propagation in some doltdb methods, pick up ValueReaderWriter context so far. 2019-04-24 20:43:31 -07:00
Zach Musgrave
06dec8bd9f Refactored sql insert, select, and update to pull out common code dealing with parser AST into a util file 2019-04-12 16:34:56 -07:00
Zach Musgrave
d34b4a3859 Removd redundant check in select, and fixed a bad error in tests that were causing none of them to run any of their important assertions. Added test-correctness checks. 2019-04-12 14:47:02 -07:00
Zach Musgrave
bb1a248d46 Added type checking for booleans in insert 2019-04-12 14:47:02 -07:00
Zach Musgrave
0b784432cd Fixed duplicate column bug 2019-04-10 16:53:32 -07:00
Zach Musgrave
2d54afd084 Support naked insert (no list of columns) 2019-04-10 14:55:44 -07:00
Zach Musgrave
ccadd18435 Added support for inserting UUIDs and uints, and tests of the same. 2019-04-10 13:06:46 -07:00
Zach Musgrave
f3d42bbd80 Added more type checking for inserting values and tests of same 2019-04-10 13:06:46 -07:00
Zach Musgrave
96497b2b97 Got constraint checking, replace, and ignore working. 2019-04-09 16:32:55 -07:00
Zach Musgrave
e76e140926 Made it an error to insert rows without required columns 2019-04-09 16:32:55 -07:00
Zach Musgrave
b7beb1b130 Found a fixed a bug where float columns with whole-number insert values were getting inserted as ints instead of flotas 2019-04-09 16:32:55 -07:00
Zach Musgrave
77cdff0bd0 Fixed a couple obvious bugs, simple single-row insert now passes without panicking. Changed test data utils to use int instead of uint, since we can't support the latter in SQL yet. Added a float column to test data and wrote some select tests for it. 2019-04-09 16:32:55 -07:00
Zach Musgrave
633a17cd62 First pass at insert, reasonably complete but no tests yet. Changed a test var name to avoid shadowing other variable declarations. Consolidated some case statements and fixed a typo. Stubbed out insert handler in sql.go. 2019-04-09 16:32:55 -07:00