Merged PRs
dolt
- 7107: go/libraries/doltcore/sqle: DatabaseProvider: Fix a bug where a database created with call dolt_clone() would not be dropped until the server was restarted.
Fixes #7106. - 7094: fix inf loop for creds search on windows
There was an infinite loop fordolt init
anddolt sql
when there isn't a.dolt
directory in current directory or any children directory. This issue was specific to windows, because we were only checking for/
and not\
. - 7092: migrate
dolt gc
to use sql queries
This change updatesdolt gc
to use the appropriate sql engine to generate results.
Related: #3922 - 7091: minor doc fixes
Updates doc strings forquery-diff
andls
. - 7090: Added a periodic heartbeat event metric to
sql-server
Also adds new constants for Doltgres as an application - 7088: add
--single-branch
flag fordolt clone
Adds--single-branch
flag fordolt clone
to match git behavior more closely.
Fixes: #3873 - 7065: Cache the computation of default columns during three-way merges.
This is a slow operation because it actually generates the CREATE TABLE string for the merged schema and uses yacc to parse it so we can correctly resolve default column expressions.
But we should only need to do this once, not once per row.
This also contains a rough performance regression test. Without this fix, the test should time out on GitHub's CI. - 7032: CLI command for reflog
Adds the CLI commanddolt reflog
which displays results form thedolt_reflog()
table function
go-mysql-server
- 2185: fix panic of concurrent map writes, when using in memory mode
Replaces #2179 - 2182: fix IN_SUBQUERY projection bugs
Correctness regression fix. With a bit more work this could probably be a smaller query:The CREATE panicked because the top-level projections get pushed into the source node, and my recent refactors failed to map projections onto the reported table output column sets.CREATE VIEW view_2_tab1_157 AS SELECT pk, col0 FROM tab1 WHERE NOT ((col0 IN (SELECT col3 FROM tab1 WHERE ((col0 IS NULL) OR col3 > 5 OR col3 <= 50 OR col1 < 83.11))) OR col0 > 75);
- 2181: Improve IN_SUBQUERY table disambiguation
When unnesting and IN_SUBQUERY into a parent scope with a table name clash, rename the child table and update its references to the new name. Prevent EXISTS subqueries from unnesting if it doesn't full decorrelate the child scope. - 2177: Properly round IndexAccess Bounds for float/decimal type filters over integer columns
When generating indexes ranges, we don't convert the range bounds type to the index bound type until later on.
Additionally, when we do convert (specifically floats to ints) we round the floats based on the halfway point, leading to indexes skipping over rows depending on how it rounds.
This PR changes that to convert the types earlier (keeping the key type and index type consistent), and rounding floating point bounds correctly to not leave out any rows.
fixes #7072 - 2175: Fix existant typo
- 2174: Having aggregate alias bug
fixes: #7082
Closed Issues
- 7106: Attempting to drop a database which was created with
dolt_clone
fails. - 7073: Potential Issue Using ROUND
- 3873:
dolt clone -branch
should omit remote tracking branches for other branches - 7082:
HAVING
clause is handled incorrectly when it references a name that matches both a column and an alias. - 1035:
dolt version
needs --verbose flag that includes commit hash and timestamp - 6983: Issue saying the database is readonly
- 7072: Unexpected Results when Querying with COT