github dolthub/dolt v1.0.0
1.0.0

latest releases: v1.43.0, v1.42.20, v1.42.19...
16 months ago

Dolt's First Stable Production Release

The world's first and only version controlled SQL database is ready for your production workloads. If you've been waiting to try Dolt for it to be stable, fast and compatible, now is the time to try it.

Dolt 1.0 means four things:

  1. Forward Storage Compatibility
  2. Production Performance
  3. MySQL Compatibility
  4. Stable Version Control Interface

Read more about it in our release blog

Merged PRs

dolt

  • 5882: Apply column defaults when merging in new columns
    Currently, when merging in a new column and updating existing rows for the new column, any column default value for the new column is ignored. This can result in inconsistent data that customers do not expect (e.g. #4456).
    This PR adds initial support for applying column defaults when merging in a new column. Only literal default values are supported in this PR. Supporting column references and function references will require more work to properly resolve those references through the analyzer's code. If an unsupported column default value is present, this change detects that we cannot apply it and errors out the merge, instead of dropping the default value and leaving the new column null.
    Fixes #4456 (which specifically only needs support for literal default values)

go-mysql-server

  • 1751: Unions finalize subquery expressions
    The SUBQUERY -> UNION -> SUBQUERY_EXPR pattern was subject to an edge case where the outer SUBQUERY disabled recursively finalizing the inner SUBQUERY_EXPR. The intervening UNION node blocked the outer reach, but failed to re-enable finalizeSubquery during finalizeUnion. This PR edits the finalizeUnionSelector to explicitly re-enable finalize nested subqueries.
    This PR also touches hoistOutOfScopeFilters for the same edge case.
    Issue: #5875
  • 1744: Adding tests for altering keyless tables
    Added tests to cover basic keyless table column alterations, to test Dolt change in #5867

Closed Issues

  • 5888: sql-server has no way to dynamically set the log level.
  • 4456: Default Value not applied to existing rows during merge of schema changes

Latency

Read Tests MySQL Dolt Multiple
covering_index_scan 1.89 2.71 1.4
groupby_scan 12.3 16.41 1.3
index_join 1.18 4.03 3.4
index_join_scan 1.12 2.11 1.9
index_scan 30.26 56.84 1.9
oltp_point_select 0.14 0.49 3.5
oltp_read_only 2.81 8.43 3.0
select_random_points 0.29 0.74 2.6
select_random_ranges 0.35 1.12 3.2
table_scan 30.81 57.87 1.9
types_table_scan 69.29 176.73 2.6
reads_mean_multiplier 2.4
Write Tests MySQL Dolt Multiple
bulk_insert 0.001 0.001 1.0
oltp_delete_insert 5.18 5.88 1.1
oltp_insert 2.48 2.86 1.2
oltp_read_write 6.32 15.27 2.4
oltp_update_index 2.61 3.02 1.2
oltp_update_non_index 2.57 2.91 1.1
oltp_write_only 3.82 7.3 1.9
types_delete_insert 5.0 6.67 1.3
writes_mean_multiplier 1.4
Overall Mean Multiple 2.0

Don't miss a new dolt release

NewReleases is sending notifications on new releases.