Zach Musgrave
1c6855ddcd
Merge pull request #613 from liquidata-inc/zachmu/sql-batch-errors
...
Real statement tokenization for SQL statements in batch processing mode, instead of line-based scans with hacks for embedded semicolons. Print out the line number of failed queries during batch processing failure.
2020-04-23 10:23:53 -07:00
Brian Hendriks
8de0df2fd8
partial key iteration ( #614 )
...
* bug fix
* partial key iteration
2020-04-23 10:22:04 -07:00
Zach Musgrave
50fc958388
copyright headers
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-23 09:58:51 -07:00
Zach Musgrave
0467446dd8
Don't echo the failed query in the error message except during batch mode
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-23 09:39:51 -07:00
Zach Musgrave
ba85935138
Formatting
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 20:37:50 -07:00
Zach Musgrave
dcfa6b3f70
Print out line numbers for batch processing errors
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 20:35:19 -07:00
Zach Musgrave
38c309548c
Typo
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 20:20:35 -07:00
Zach Musgrave
5f763c240a
Got rid of unnecessary struct vars, made local
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 20:19:52 -07:00
Zach Musgrave
c6a74f819f
Working line numbers with tests
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 20:16:03 -07:00
Zach Musgrave
b2fe53eb82
Fully replaced sql statement scanner
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 16:57:15 -07:00
Zach Musgrave
1e390c794e
More tests of weird string input
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 16:32:10 -07:00
Zach Musgrave
7b5cd49262
Fully working scanner minus line number verification
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 16:26:45 -07:00
Zach Musgrave
11ad423dce
More tests
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 13:57:47 -07:00
Brian Hendriks
8825ac908f
filter reader tests ( #611 )
2020-04-22 13:51:19 -07:00
Zach Musgrave
5d5957275a
Getting closer to statement parser
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 11:56:54 -07:00
Zach Musgrave
1c40607a22
First pass at implementing a proper statement scanner that includes line numbers.
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-22 10:23:48 -07:00
Brian Hendriks
b3a2b3a842
change default cmItr which used to rely on WithFilters call ( #609 )
...
* change default cmItr which used to rely on WithFilters call
2020-04-21 16:52:37 -07:00
Zach Musgrave
93b517f023
Merge pull request #608 from liquidata-inc/zachmu/sql-update
...
Upgraded dolt with latest go-mysql-server
2020-04-21 15:45:16 -07:00
Zach Musgrave
ca6c8629ee
Fix formatting
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-21 15:05:17 -07:00
Zach Musgrave
2a1921e8c2
Fixed bug in history table commit iteration
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-21 14:52:44 -07:00
Katie McCulloch
1f7be1a31c
go/libraries/doltcore/env/environment_test.go: Remove docs from environment 'init' test
2020-04-21 14:44:06 -07:00
Katie McCulloch
1d5f61dc0f
{bats,libraries/doltcore/env: Remove automatic creation of docs and fix bats tests accordingly
2020-04-21 14:16:51 -07:00
Zach Musgrave
51f6cf637b
Skipped a couple casing tests
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-21 14:05:46 -07:00
Zach Musgrave
f96c02aa97
Fixed stockmarket test
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-21 14:03:53 -07:00
Zach Musgrave
5a1f0b5ae3
Upgraded dolt with latest go-mysql-server
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-21 13:59:00 -07:00
Katie McCulloch
2162f748f9
bats,libraries/doltcore/env: Fix init stomp bug; dont save/overwrite ANY docs if 1 or more docs already exist in repo
2020-04-20 15:42:22 -07:00
Zach Musgrave
298be3db68
Merge pull request #599 from liquidata-inc/zachmu/index-bug
...
Fixed bug for multi-key indexes
2020-04-20 10:44:44 -07:00
Zach Musgrave
86cdec4110
Fixed bug for multi-key indexes
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-18 14:15:18 -07:00
Brian Hendriks
ab45d7febf
[WIP] Writable Branches ( #595 )
...
* writable dolt_branches table
* hashof func
* commit func
* hashof and commit functions as well as configurable autocommit for server
* revive bats sql server tests + add more
2020-04-18 09:13:37 -07:00
Andy Arthur
9f0bd142ad
Revert "give schema imports unique tags"
...
This reverts commit 1b5dc94017 .
2020-04-17 12:18:47 -07:00
Andy Arthur
1b5dc94017
give schema imports unique tags
2020-04-17 12:18:06 -07:00
Aaron Son
11e440ffcf
Merge pull request #596 from liquidata-inc/aaron/fix-tests-when-run-as-root
...
go/store/config: config_test.go: Fix test that fails when running test suite as root.
2020-04-17 11:18:25 -07:00
Aaron Son
8693a90c67
go/store/config: config_test.go: Fix test that fails when running test suite as root.
...
This can happen when building and running in a golang docker container, for
example.
2020-04-17 09:20:50 -07:00
Aaron Son
741866dad3
Merge pull request #574 from liquidata-inc/aaron/support-s3-clone
...
go/store/nbs: Support clone on S3 by using chunkSource.reader.
2020-04-16 14:47:28 -07:00
Aaron Son
8fbdcd12b0
repoformat.
2020-04-16 13:13:27 -07:00
Aaron Son
e58dd5f20d
Update go/store/nbs/store.go
...
More idiomatic error handling when wrapping reader with NopCloser.
Co-Authored-By: Brian Hendriks <brian@liquidata.co >
2020-04-16 12:02:36 -07:00
Aaron Son
2ebb8a149e
Merge remote-tracking branch 'origin/master' into aaron/dolt-creds-create-perms
2020-04-16 08:04:06 -07:00
Aaron Son
311b18c4f6
Merge pull request #567 from liquidata-inc/aaron/login-with-creds-checks-creds-first
...
go/cmd/dolt: commands/login.go: Change behavior so dolt login with existing creds checks server for association before opening a browser.
2020-04-16 08:02:04 -07:00
Aaron Son
cddc3d541a
Merge pull request #570 from liquidata-inc/aaron/creds-import-command
...
go/cmd/dolt: commands/credcmds/import: Add import command for importing existing JWK credential.
2020-04-16 08:01:57 -07:00
Timothy Sehn
6f3d3c9765
Add json to supported output types in dolt sql --help
2020-04-15 13:24:31 -07:00
AndyA
64286f02cc
Merge pull request #586 from liquidata-inc/andy/migrate-check-bug-fix
...
Andy/Init commits don't need migration
2020-04-15 12:39:30 -07:00
Andy Arthur
082c95db22
speacial case init commits
2020-04-15 11:59:49 -07:00
Aaron Son
7a25e74c9e
repoformat.
2020-04-15 11:31:06 -07:00
Aaron Son
f2ffc62d8b
Merge remote-tracking branch 'origin/master' into aaron/support-s3-clone
2020-04-15 11:30:07 -07:00
Aaron Son
ea7e0e1590
go/utils/publishrelease: Run the builds in a docker container to a get managed toolchain.
2020-04-15 11:28:24 -07:00
Oscar Batori
3babdc7bca
bumped version for 0.16.0 release
2020-04-15 01:11:18 -07:00
AndyA
f5974db06d
Merge pull request #577 from liquidata-inc/andy/stream_edits
...
streaming map edits
2020-04-14 15:38:20 -07:00
Andy Arthur
30c315d6a0
code review feedback
2020-04-14 15:24:44 -07:00
Daylon Wilkins
75fb59d0a0
Implemented DECIMAL, TIME, ENUM, and SET, along with missing type aliases
2020-04-14 15:17:46 -07:00
Andy Arthur
03c353335f
repo fmt
2020-04-14 14:28:00 -07:00