This is a patch release. It has some small bug fixes and feature releases:
- Fixed problems with merging schemas
- Fixed logging in sql-server going to the wrong file
- Missing docs
- JSON_ARRAY() function
Merged PRs
dolt
- 2686: redirect logrus standard log to cli.CliErr
- 2678: Skipped bats test for fast forward merge with autocommit off
- 2666: Skipped bats test for creating tables using the database.table syntax
Fails if used in the same session as creating the database. - 2663: go/libraries/doltcore/sqle: TableToRowIter: Export a method for doltgres to easily get a full table scan.
- 2662: Add ordinal to merge schema after merge
Still need to add test cases here - 2654: Removed Parse from typeinfo, some type conversion fixes
Back whenGetTypeConverter
was added,Parse
was deprecated. This PR now fully removes it. In addition, a few bugs regarding type conversions were fixed, a new test enforcing the inclusion of all types inGetTypeConverter
was added, and a few more comments were added to clarify the different string type implementations. - 2652: dump_docs.go now includes verifyConstraintsDocs
dump_docs
doesn't dump the docs forverify constraints
, which means they're not visible in the online documentation. Hopefully this fixes that.
After building I checked that it worked locally and seemed to produce the right output.
Context: this is my first PR and my first time editing go code. Entering the great unknown here. :-) - 2646: store/datas: fix dropped error
This fixes a droppederr
variable in thestore/datas
package.
go-mysql-server
- 755: sql/expression/function: json_{array,object}.go: Fix to handle JSONValue subexpressions as well.
- 753: go.mod: Bump vitess, pick up parser simplifications.
- 746: Window exec uses framing iterator and support agg functions in windows
plan.Window is converted into new WindowIter backed by the framing setup.
Codegen unary agg function nodes, including executable and unit testing
harness. Rewrite window aggregation functions for framing.
More unit tests that will make it easier to debug WindowBlock/Iter
Doc comments for the new WindowIter exec stack. - 745: Added password validation for logging in
Now when creating a user, you can specify a password and log in according to the password given. Denies all incorrect password or invalid users. Also added a killswitch in the grant tables to disable this functionality since it's not yet ready. - 741: add JSON_ARRAY() function
- 723: Apply Defaults in the AddColumn node
This pr- Adds Defaults in the Add Column Node
- Adds a nullability check in the Update node
vitess
- 112: go,go/vt/proto: Regenerate pb message implementations, upgrade to APIv2.
- 110: add serial supoort
add serial support https://dev.mysql.com/doc/refman/8.0/en/numeric-type-syntax.html#:~:text=SERIAL - 107: go/vt/sqlparser: Remove PartialDDL support.
There's no need to support partial DDL in dolt.
Closed Issues
- 2670: Error 1105 when trying to switch branches with auto-commit turned off
- 2626: Error
invalid type: INT
when selecting from view - 2628: AS OF queries do not support TIMESTAMP
- 2627: Incorrect behaviour of nested JSON_OBJECT functions
- 797: Dolt import should cast float strings that can be rounded to ints
- 2533: Support
JSON_ARRAY()
function