Merged PRs
dolt
- 6363: CLI remote connections
Enable the connection of SQL enabled CLI commands to remote servers with addition of three flags:- --host - The server to connect to. Using this flag forces the use of a remote connection no matter what.
- --port - The port to use. Defaults to 3306. No effect when --host is not used.
- --no-tls - Disable the use of SSL. This is required to connect to your local host.
Also special cased thesql
command to allow starting without a DB. Enables connecting to an empty repo so you canCREATE DATABASE FOO
.
- 6362: add warning message for unmigrated cli commands
Adds warning message for unmigrated cli commands when they are attempted to be used remotely. - 6288: migrates dolt merge to use sql queries
This change updatesdolt merge
to use the appropriate sql engine to generate results.
Related: #3922
go-mysql-server
- 1877: Add "Sliding Range Join" execution plan
This is the draft implementation of the "Sliding Range Join" execution plan. This allows for more performant joins when the join condition checks that the column on one table is within a range specified by two columns on the other table.
TODO: Elaborate in this description before making this PR not a draft. - 1875: match notation for decimal parsing
Follow up to dolthub/go-mysql-server#1874
Turns out it is possible to specify floats using scientific notation, which caused some issues with conversions especially around large decimals. - 1874: avoid scientific notation for floats/decimals
We use some string comparison logic to find precision loss and determine if something should be float/decimal type.
When printing very large floats, the%v
format option in thefmt
packages defaults to scientific notation, so like1.234e567
.
This does not work well with our (hacky) string code.
The%f
option doesn't work very well, as it likes to append.00000
.
It appearsstrconv.FormatFloat
does what we want, so I just picked that.
fmt package docs: https://pkg.go.dev/fmt
Format Float docs: https://pkg.go.dev/strconv#FormatFloat
fix for: #6322 - 1873: Supporting
mysql.help_
tables
This first pass adds the table schemas to themysql
database forhelp_keyword
,help_category
,help_topic
, andhelp_relation
. There is no support for data in the tables yet; we're starting with just table schemas to see if that's enough for tool compatibility.
Related to: #6308
I still need to do acceptance testing with the exact repro in the issue linked above. I'll follow up with Max on that tomorrow to confirm. I'm hoping just supporting the schema will be enough for the FusionAuth tool, but we may end up needing to populate these tables, too. - 1862: implementing lateral joins
vitess
- 254: Fix for using unqouted reserved words ('count' specifically) in the VALUES function
- 250: support
LATERAL
syntax
syntax for: #6194
Closed Issues
Latency
Read Tests | MySQL | Dolt | Multiple |
---|---|---|---|
covering_index_scan | 2.07 | 2.97 | 1.4 |
groupby_scan | 12.98 | 18.28 | 1.4 |
index_join | 1.25 | 4.82 | 3.9 |
index_join_scan | 1.21 | 2.26 | 1.9 |
index_scan | 33.12 | 59.99 | 1.8 |
oltp_point_select | 0.14 | 0.47 | 3.4 |
oltp_read_only | 2.71 | 8.13 | 3.0 |
select_random_points | 0.31 | 0.8 | 2.6 |
select_random_ranges | 0.37 | 1.14 | 3.1 |
table_scan | 33.12 | 59.99 | 1.8 |
types_table_scan | 74.46 | 170.48 | 2.3 |
reads_mean_multiplier | 2.4 |
Write Tests | MySQL | Dolt | Multiple |
---|---|---|---|
bulk_insert | 0.001 | 0.001 | 1.0 |
oltp_delete_insert | 4.74 | 5.99 | 1.3 |
oltp_insert | 2.43 | 2.97 | 1.2 |
oltp_read_write | 6.21 | 15.55 | 2.5 |
oltp_update_index | 2.43 | 3.07 | 1.3 |
oltp_update_non_index | 2.39 | 2.97 | 1.2 |
oltp_write_only | 3.49 | 7.7 | 2.2 |
types_delete_insert | 4.74 | 6.67 | 1.4 |
writes_mean_multiplier | 1.5 |
Overall Mean Multiple | 2.0 |
---|