Commit Graph

4465 Commits

Author SHA1 Message Date
Zach Musgrave 9b29512150 Rewrote where clause handling in preparation for making it work with joins 2019-04-30 09:15:26 -07:00
Zach Musgrave 2a054d5165 Working join, with caveats: no join conditions, where clauses do nothing 2019-04-30 09:15:26 -07:00
Zach Musgrave 5a9443903b Extracted a limit clause method 2019-04-30 09:15:26 -07:00
Zach Musgrave c2add5c334 Merge pull request #1139 from liquidata-inc/zachmu/sql-feature
Zachmu/sql feature
2019-04-25 11:51:01 -07:00
Zach Musgrave c2da567c98 Changed the return type of sql select pipeline creation. 2019-04-25 11:43:40 -07:00
Timothy Sehn 2f2ac9a645 Update README.md 2019-04-25 11:35:20 -07:00
Brian Hendriks 4331380ddf PR feedback 2019-04-25 11:34:21 -07:00
Brian Hendriks 8be06b60a4 bump version 2019-04-25 11:34:21 -07:00
Brian Hendriks 3bb2bf5f86 fix 2019-04-25 11:34:21 -07:00
Brian Hendriks b4d58ded77 more unit tests 2019-04-25 11:34:21 -07:00
Brian Hendriks 31fb7bb56c more unit tests 2019-04-25 11:34:21 -07:00
Brian Hendriks 5775309e4a diff row changes 2019-04-25 11:34:21 -07:00
Brian Hendriks b3cd044fad new SchemaChangeType 2019-04-25 11:34:21 -07:00
Brian Hendriks 258b81a244 diff schemas 2019-04-25 11:34:21 -07:00
Zach Musgrave 3c3d6bd388 Fixed tests to use the new result sets that are returned by select. This also involved adding a new untyping transformation to the sql command, before the printing stage. 2019-04-24 16:46:06 -07:00
Timothy Sehn 9c47b2c743 added more remotes tests 2019-04-24 12:41:32 -07:00
Timothy Sehn b6d4ef74ea first version git push behind tip test 2019-04-24 12:18:01 -07:00
Aaron Son 44edb806f6 Merge pull request #1128 from liquidata-inc/aaron/doltcore-chunk-store-context
dolt/go: doltcore/remotestorage: Give DoltChunkStore WithContext so that context can be propagated.
2019-04-24 11:43:56 -07:00
Timothy Sehn cf4e387d7e chanaged kill -9 to kill -2 per Brian's feedback 2019-04-24 11:34:11 -07:00
Timothy Sehn d35b3eb72c Added another merge in the fetch test to show that there was nothing to merge 2019-04-24 10:59:17 -07:00
Timothy Sehn 810e8dc949 changed port so the remote server does not need root access 2019-04-24 10:50:24 -07:00
Timothy Sehn b08090802a adding log file and cat-ing it in teardown to try and get jenkins to work 2019-04-24 10:40:14 -07:00
Timothy Sehn 344439f6ba Removed some quotes which I think may be troublesome 2019-04-24 09:53:15 -07:00
Timothy Sehn 015dd0a4d2 added some debugging pgreps to see what is up with Jenkins 2019-04-24 09:41:30 -07:00
Timothy Sehn 8aa87915db dolt fetch and dolt clone tests 2019-04-23 18:30:36 -07:00
Timothy Sehn 03b40695df first iteration of remotes tests 2019-04-23 17:28:06 -07:00
Aaron Son bb15a6783c dolt/go: doltcore/remotestorage: Give DoltChunkStore WithContext so that context can be propogated. 2019-04-23 16:44:34 -07:00
Brian Hendriks 19f7c4743a change remotesrv exit handling 2019-04-23 15:41:25 -07:00
Aaron Son e3a9cccd10 Merge pull request #1109 from liquidata-inc/aaron/dolt-remotestorage-http-fetcher
dolt/go: doltcore/remotestorage: Make http client used by DoltChunkStore to issue requests pluggable.
2019-04-23 15:20:55 -07:00
Zach Musgrave 455631b2ce Checkpoint: changed the types of several fields related to select statement parsing 2019-04-23 14:52:04 -07:00
Brian Hendriks 051413e063 Create README.md 2019-04-23 14:31:26 -07:00
Brian Hendriks 5e0333b48f Update remotesrv 2019-04-23 14:17:14 -07:00
Timothy Sehn 5e86589985 Adopted new DOLT_ROOT_PATH environment variable for config tests so now we can run them in parallel 2019-04-23 13:23:20 -07:00
Brian Hendriks 96bc16c21b rename env var 2019-04-23 13:15:52 -07:00
Brian Hendriks 61b17e3ccc support setting a parent directory where the global .dolt directory should be placed 2019-04-23 13:15:52 -07:00
Zach Musgrave 90b91b4132 Moved SubsetSchema out of the test util and into result_set.go, wrote tests for it 2019-04-23 12:43:46 -07:00
Zach Musgrave b543047a95 Merge pull request #1112 from liquidata-inc/zachmu/sql-feature
Zachmu/sql feature
2019-04-23 12:20:04 -07:00
Zach Musgrave 82eb716ae8 Removed unused query param from sql select 2019-04-23 12:15:41 -07:00
Zach Musgrave 15fc259804 More tests for result sets, also restructured into t.run() style tests 2019-04-23 11:52:58 -07:00
Aaron Son ba5af1b85b dolt/go: doltcore/remotestorage: Make http client used by DoltChunkStore to issue requests pluggable.
This will make it possible for a client to control the outbound requests that
the ChunkStore issues.
2019-04-23 10:40:06 -07:00
Zach Musgrave e2b64911e7 Working cross product and test. Introduced a new TableResult to make the type signatures easier to understand, not sure how I feel about it yet. 2019-04-22 17:22:03 -07:00
Zach Musgrave 20b73e6314 New direction: result set object that knows how to compose a result set of underlying schemas. Everything I was trying to test in sqltestutil_test is now being tested in result_set_test as functionality on the ResultSetSchema class. 2019-04-22 16:33:27 -07:00
Zach Musgrave 64ab15ff72 Checkpoint before trying something new. Starting to understand the deficiencies of the row / schema model when combining rows from mutliple tables into a new result set. Going to play with packaging rows and schemas together. 2019-04-22 11:44:09 -07:00
Timothy Sehn f8012f5e86 Made config bats tests fail if another one is running 2019-04-22 11:39:04 -07:00
Zach Musgrave 78a3f8164d Added a third schema and a crossProduct method to assist in writing tests of joins / multi-table selects. A side-effect of this is that I had to make in-memory-tables sort their rows (required to pipe into noms), and I can't do that by hand with composite key types. 2019-04-19 16:57:25 -07:00
Zach Musgrave 4591054fbf Fixed a bug where I forgot to make the ids unique for the new table 2019-04-19 14:48:40 -07:00
Zach Musgrave ae2fa9d452 Added a second table to the test database for SQL tests, did some renaming 2019-04-19 14:28:43 -07:00
Timothy Sehn 515ceac358 Update README.md 2019-04-19 13:23:43 -07:00
Timothy Sehn 0758f9fe5d Merge pull request #1088 from liquidata-inc/tim/remotes-bats-tests
first pass at config tests. added a holding file for remotes tests
2019-04-19 13:22:43 -07:00
Zach Musgrave cadbb523fa Refactored sqlselect to support multiple from expressions and column name disambiguation in advance of making joins work. All functionality remains the same, but selects from multiple tables will behave badly (instead of throwing an error as before) 2019-04-19 12:19:49 -07:00