mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-12 19:39:32 -05:00
[no-release-notes] join tests bump (#5361)
* bump gms and join planning tests * bump * no local * bump, fix stockmarket test * no local * rem nil tests from ld * non-deterministic order by tests * no local * prevent merge join in LD tests
This commit is contained in:
committed by
GitHub
parent
06b6392e27
commit
ea024bd0c2
@@ -58,7 +58,7 @@ require (
|
||||
github.com/cenkalti/backoff/v4 v4.1.3
|
||||
github.com/cespare/xxhash v1.1.0
|
||||
github.com/creasty/defaults v1.6.0
|
||||
github.com/dolthub/go-mysql-server v0.14.1-0.20230214164824-b1608f9aaec3
|
||||
github.com/dolthub/go-mysql-server v0.14.1-0.20230215192922-23166cbd9502
|
||||
github.com/google/flatbuffers v2.0.6+incompatible
|
||||
github.com/jmoiron/sqlx v1.3.4
|
||||
github.com/kch42/buzhash v0.0.0-20160816060738-9bdec3dec7c6
|
||||
|
||||
@@ -166,8 +166,8 @@ github.com/dolthub/flatbuffers v1.13.0-dh.1 h1:OWJdaPep22N52O/0xsUevxJ6Qfw1M2txC
|
||||
github.com/dolthub/flatbuffers v1.13.0-dh.1/go.mod h1:CorYGaDmXjHz1Z7i50PYXG1Ricn31GcA2wNOTFIQAKE=
|
||||
github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U=
|
||||
github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0=
|
||||
github.com/dolthub/go-mysql-server v0.14.1-0.20230214164824-b1608f9aaec3 h1:RkKjMfj9bImzBdPTeZEe0olOezWn9uHUUfSb6OnAe08=
|
||||
github.com/dolthub/go-mysql-server v0.14.1-0.20230214164824-b1608f9aaec3/go.mod h1:3PGGtLcVPnJumgozqqAKZPae88QmvkOd1KGS+Z2/RXU=
|
||||
github.com/dolthub/go-mysql-server v0.14.1-0.20230215192922-23166cbd9502 h1:zlUgMdVO5oV2zMWLjUOJErjw5GUvBhSRs7bAHqXW9Go=
|
||||
github.com/dolthub/go-mysql-server v0.14.1-0.20230215192922-23166cbd9502/go.mod h1:3PGGtLcVPnJumgozqqAKZPae88QmvkOd1KGS+Z2/RXU=
|
||||
github.com/dolthub/ishell v0.0.0-20221214210346-d7db0b066488 h1:0HHu0GWJH0N6a6keStrHhUAK5/o9LVfkh44pvsV4514=
|
||||
github.com/dolthub/ishell v0.0.0-20221214210346-d7db0b066488/go.mod h1:ehexgi1mPxRTk0Mok/pADALuHbvATulTh6gzr7NzZto=
|
||||
github.com/dolthub/jsonpath v0.0.0-20210609232853-d49537a30474 h1:xTrR+l5l+1Lfq0NvhiEsctylXinUMFhhsqaEcl414p8=
|
||||
|
||||
@@ -446,6 +446,22 @@ func TestJoinOps(t *testing.T) {
|
||||
enginetest.TestJoinOps(t, newDoltHarness(t))
|
||||
}
|
||||
|
||||
func TestJoinPlanningPrepared(t *testing.T) {
|
||||
if types.IsFormat_DOLT_DEV(types.Format_Default) || types.IsFormat_LD(types.Format_Default) {
|
||||
t.Skip("DOLT_LD keyless indexes are not sorted")
|
||||
}
|
||||
|
||||
enginetest.TestJoinPlanningPrepared(t, newDoltHarness(t).WithParallelism(1))
|
||||
}
|
||||
|
||||
func TestJoinPlanning(t *testing.T) {
|
||||
if types.IsFormat_DOLT_DEV(types.Format_Default) || types.IsFormat_LD(types.Format_Default) {
|
||||
t.Skip("DOLT_LD keyless indexes are not sorted")
|
||||
}
|
||||
|
||||
enginetest.TestJoinPlanning(t, newDoltHarness(t).WithParallelism(1))
|
||||
}
|
||||
|
||||
func TestJoinOpsPrepared(t *testing.T) {
|
||||
if types.IsFormat_DOLT_DEV(types.Format_Default) || types.IsFormat_LD(types.Format_Default) {
|
||||
t.Skip("DOLT_LD keyless indexes are not sorted")
|
||||
|
||||
@@ -20282,15 +20282,17 @@ func TestExplain(t *testing.T) {
|
||||
|
||||
expectedExplain := "Project\n" +
|
||||
" ├─ columns: [d.Type, d.Symbol, d.Country, d.TradingDate, d.Open, d.High, d.Low, d.Close, d.Volume, d.OpenInt, t.Symbol, t.Name, t.Sector, t.IPOYear]\n" +
|
||||
" └─ LookupJoin\n" +
|
||||
" ├─ (d.Symbol = t.Symbol)\n" +
|
||||
" └─ MergeJoin\n" +
|
||||
" ├─ cmp: (t.Symbol = d.Symbol)\n" +
|
||||
" ├─ TableAlias(t)\n" +
|
||||
" │ └─ Table\n" +
|
||||
" │ ├─ name: symbols\n" +
|
||||
" │ └─ IndexedTableAccess(symbols)\n" +
|
||||
" │ ├─ index: [symbols.Symbol]\n" +
|
||||
" │ ├─ filters: [{[NULL, ∞)}]\n" +
|
||||
" │ └─ columns: [symbol name sector ipoyear]\n" +
|
||||
" └─ TableAlias(d)\n" +
|
||||
" └─ IndexedTableAccess(daily_summary)\n" +
|
||||
" ├─ index: [daily_summary.Symbol,daily_summary.Country,daily_summary.TradingDate]\n" +
|
||||
" ├─ filters: [{[NULL, ∞), [NULL, ∞), [NULL, ∞)}]\n" +
|
||||
" └─ columns: [type symbol country tradingdate open high low close volume openint]"
|
||||
|
||||
assert.Equal(t, expectedExplain, strings.Join(rowStrings, "\n"))
|
||||
|
||||
Reference in New Issue
Block a user