dolthub / go-mysql-server

A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
Apache License 2.0
2.32k stars 199 forks source link

[no-release-notes] correctness test for NULL range #2630

Closed max-hoffman closed 3 weeks ago

max-hoffman commented 1 month ago

Test index access with null range.

nicktobey commented 1 month ago

Can you add a PR description explaining what's being tested here?

The test adds a bunch of indexes. Are we expecting specific indexes to be used? Can we verify that with the ExpectedIndexes parameter in the test?

max-hoffman commented 1 month ago

I simplified. We didn't have any null range tests. The choice of index isn't all that relevant, this is a canary for the sqllogictests that use null ranges.