Vinai Rachakonda
b171ddb55e
Address escaping in longtext/json for json and csv export ( #1157 )
...
This pr addresses the linked of issue of fault exporting of json like data with prettyPrint. The solution on the csv end was opening the csv writer to the pretty print pipeline.
2021-01-04 18:18:40 -05:00
Brian Hendriks
ffab301d8c
PR feedback
2020-11-24 15:39:54 -08:00
Brian Hendriks
568df248d9
Merge remote-tracking branch 'remotes/origin/master' into bh/pipelinev2
2020-11-23 15:06:32 -08:00
Daylon Wilkins
e19297a0ad
Added test for dolt_version()
2020-11-16 14:14:31 -08:00
Brian Hendriks
ea852be8b2
test fixes
2020-11-04 17:09:35 -08:00
Daylon Wilkins
39979b8f5b
Moved most commands to use SQL, added CREATE TABLE LIKE, and removed tags from comments.
2020-09-21 03:01:01 -07:00
Zach Musgrave
e4d3132bf4
Updated go-mysql-server, added test for SHOW TABLES AS OF
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-08-11 10:21:32 -07:00
Andy Arthur
1986d48905
use typeinfo in JSON writer
2020-06-25 08:37:32 -05:00
Timothy Sehn
4edd3f3ffe
Added skipped test for json DATETIME bug. Also, added || false on some regexes to create deterministic behavior in old versions of bash.
2020-06-24 09:00:14 -07:00
Brian Hendriks
09b8970235
sql command at a commit ( #727 )
2020-06-23 22:41:12 -07:00
Andy Arthur
65f26638eb
better skip message
2020-05-21 17:58:20 -05:00
Andy Arthur
ebced157e7
swish
2020-05-21 17:48:33 -05:00
Andy Arthur
62a55cd8b5
added test for 1 div 0
2020-05-19 16:39:26 -05:00
Andy Arthur
a6cd9a14ea
changed divide by zero error to return NULL
2020-05-19 15:47:19 -05:00
Andy Arthur
e6889891af
fix panic
2020-05-19 14:42:58 -05:00
Zach Musgrave
be9249f57f
Upgraded go-mysql-server and fixed error in bats test
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-05-08 10:27:34 -07:00
Daylon Wilkins
0e267db30d
Disallowed tag changes
2020-05-01 18:29:50 -07:00
Zach Musgrave
68d3df0094
Added bats test for csv and json SQL output formats
...
Signed-off-by: Zach Musgrave <zach@liquidata.co >
2020-04-10 16:31:51 -07:00
Katie McCulloch
8bc33533d6
bats/sql.bats: Add skipped bats test for ON DUPLICATE KEY UPDATE insert
2020-04-03 14:19:36 -07:00
Andy Arthur
f6b1e832ea
merged master and resolved conflicts
2020-03-24 01:00:12 -07:00
Andy Arthur
4fba85a8c0
updated bats tests with PR feedback
2020-03-23 07:25:54 -07:00
Andy Arthur
4d5e92e65c
fixe bats tests
2020-03-13 17:18:51 -07:00
Timothy Sehn
398a2a245e
Added skipped bats test for update a datetime field
2020-03-01 09:51:52 -08:00
Tim Sehn
224edd8b59
Merge pull request #434 from liquidata-inc/tim/divide-by-zero-panic-bats
...
Added skipped divide by zero bats test
2020-02-26 15:57:59 -08:00
Timothy Sehn
cf2d26517d
Added skipped divide by zero bats test
2020-02-26 15:10:39 -08:00
Aaron Son
4a8584369f
go.mod: Bump go-mysql-server to support SQL UNION.
2020-02-26 13:47:33 -08:00
Tim Sehn
e1fc818055
Merge pull request #413 from liquidata-inc/tim/limit-comma-bats
...
Added a couple more test cases in the limit test
2020-02-18 16:42:14 -08:00
Timothy Sehn
ed8738d018
Added a couple more test casesin the limit test
2020-02-18 15:27:41 -08:00
Timothy Sehn
18494e6774
Skipped nats test for DATE_ADD and DATE_SUB in the where clause
2020-02-18 14:58:29 -08:00
Timothy Sehn
d33e96d994
Added a group by bats test highlighting inconsistent behavior
2020-02-17 20:27:20 -08:00
Tim Sehn
c2981fbb54
Update bats/sql.bats
...
Co-Authored-By: Daylon Wilkins <Hydrocharged@users.noreply.github.com >
2020-02-17 15:02:38 -08:00
Timothy Sehn
39380ced84
Added a passing substr() test while I was at it
2020-02-17 14:25:57 -08:00
Timothy Sehn
a4673e9a55
Added skipped bats test for date_format
2020-02-17 14:19:34 -08:00
Aaron Son
c7e5ce670b
bats/sql.bats: Skip new bats tests on Windows.
2020-02-13 15:21:32 -08:00
Aaron Son
acae58005a
bats/sql.bats: Add a test case to ensure compliance.
2020-02-13 14:42:10 -08:00
Aaron Son
4beb79ffe5
go/go.mod: Bump go-mysql-server version to fix some sql.bats tests. Add test for UNION DISTINCT.
2020-02-13 13:50:01 -08:00
Aaron Son
2e3d1e2eac
bats/sql.bats: Document some unsupported SQL features with some failing bats tests.
2020-02-12 13:50:40 -08:00
Daylon Wilkins
7820d3130e
Added skipped bats test for REPLACE counting issue
2020-01-31 15:24:26 -08:00
Timothy Sehn
de7f028f26
Moved advanced-sql.bats to sql.bats because Zach whined
2020-01-31 14:31:08 -08:00