Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dolt 1.35.3 #165929

Merged
merged 2 commits into from
Mar 13, 2024
Merged

dolt 1.35.3 #165929

merged 2 commits into from
Mar 13, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
# Merged PRs

dolt

go-mysql-server

  • 2387: exit early when IF NOT EXISTS and table exists
    This PR addresses various issues related to CREATE TABLE IF NOT EXISTS ... queries.
    Before, we simply ignored the table exists error, and continued creating indexes, foreign keys, and checks.
    This led to errors when attempting to create indexes/foreign keys/checks that already exists.
    Additionally, it would errorneously create indexes/foreng keys/checks that did exist.
    The correct behavior is to do nothing if IF NOT EXISTS is specified and the table exists.
    Also this contains some refactors and simplifications.
    fixes Conditionally creating a table in a script produces index already exists error  dolthub/dolt#7602
  • 2386: ignore large tokens in fulltext indexes
    We were panicking when attempting to insert/delete tokens that exceed the column type length.
    It appears as though MySQL simple ignores these tokens.
    fixes: Panic is Wikipedia import cause by a Replace into a table with Full text indexes dolthub/dolt#7593
  • 2385: optimize sql.HashOf
    • pool *xxhash.Digest objects
    • use fmt.Fprintf to write to hash
      benchmark stats
    oos: linux
    goarch: amd64
    pkg: github.com/dolthub/go-mysql-server/sql
    cpu: AMD Ryzen 9 7900 12-Core Processor
    │     b1      │                 b2                  │
    │   sec/op    │    sec/op     vs base               │
    HashOf-24           79.65n ± 4%   70.86n ±  7%  -11.03% (p=0.002 n=6)
    ParallelHashOf-24   10.47n ± 4%   11.85n ± 19%        ~ (p=0.368 n=6)
    geomean             28.88n        28.98n         +0.32%
    │     b1     │                   b2                   │
    │    B/op    │    B/op     vs base                    │
    HashOf-24           4.000 ± 0%   0.000 ± 0%  -100.00% (p=0.002 n=6)
    ParallelHashOf-24   4.000 ± 0%   0.000 ± 0%  -100.00% (p=0.002 n=6)
    geomean             4.000                    ?                      ¹ ²
    ¹ summaries must be >0 to compute geomean
    ² ratios must be >0 to compute geomean
    │     b1     │                   b2                   │
    │ allocs/op  │ allocs/op   vs base                    │
    HashOf-24           2.000 ± 0%   0.000 ± 0%  -100.00% (p=0.002 n=6)
    ParallelHashOf-24   2.000 ± 0%   0.000 ± 0%  -100.00% (p=0.002 n=6)
    geomean             2.000                    ?                      ¹ ²
    ¹ summaries must be >0 to compute geomean
    ² ratios must be >0 to compute geomean
    
  • 2383: promote string lookup range types
    When performing range lookups, we convert the key to the type of the column.
    The conversion throws an error when the key doesn't fit within the type for the index.
    The fix is to promote these (only for StringType) so the ranges fit.
    There were issues with type.Promote() for all types.
    Additionally, there are some inconsistencies with MySQL when performing these checks with NUL characters (\0). They are skipped tests for now.
    related Select statement throwing too large for column error dolthub/dolt#7588
  • 2382: add support for json_pretty
    MySQL Docs:
    https://dev.mysql.com/doc/refman/8.0/en/json-utility-functions.html#function_json-pretty
  • 2381: [memory] force mutating the editAcc AutoInc because tableEditor is unreliable
    I can't figure a clean way to get the insert editor's edit accumulator and table editor data in sync when a self-referential foreign key initializes the session editor during analysis. So I just forced us to mutate the edit accumulator's auto increment id, which should prevent bugs of the kind we've been seeing. Zach might have a better understanding of how this should work.
    fixes: Self-referencing foreign key constraint breaks auto-incrementing ids in memory mode dolthub/go-mysql-server#2369

vitess

Closed Issues

  • 7593: Panic is Wikipedia import cause by a Replace into a table with Full text indexes
  • 7602: Conditionally creating a table in a script produces index already exists error
  • 7601: One more issue related to the Adobe Commerce ( Magento ) installation.
  • 7588: Select statement throwing too large for column error
  • 2369: Self-referencing foreign key constraint breaks auto-incrementing ids in memory mode

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Mar 13, 2024
@chenrui333 chenrui333 added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Mar 13, 2024
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Mar 13, 2024
@BrewTestBot BrewTestBot enabled auto-merge March 13, 2024 04:27
@BrewTestBot BrewTestBot added this pull request to the merge queue Mar 13, 2024
Merged via the queue into master with commit 7754998 Mar 13, 2024
13 checks passed
@BrewTestBot BrewTestBot deleted the bump-dolt-1.35.3 branch March 13, 2024 04:33
@github-actions github-actions bot added the outdated PR was locked due to age label Apr 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants