Skip to content

Conversation

elianddb
Copy link
Contributor

@elianddb elianddb commented Sep 9, 2025

@elianddb elianddb force-pushed the elian/9812 branch 4 times, most recently from c621c6d to e79fbd7 Compare September 12, 2025 17:23
@elianddb elianddb changed the title add test w warn and cast fix dolthub/dolt#9812: Coalesce IN and = operator logic Sep 12, 2025
@elianddb elianddb force-pushed the elian/9812 branch 2 times, most recently from 4adff84 to c0b49b2 Compare September 12, 2025 17:30
@elianddb elianddb force-pushed the elian/9812 branch 3 times, most recently from 2e6c03b to d4532fb Compare September 12, 2025 18:38
@@ -120,6 +121,115 @@ type ScriptTestAssertion struct {
// Unlike other engine tests, ScriptTests must be self-contained. No other tables are created outside the definition of
// the tests.
var ScriptTests = []ScriptTest{
{
// https://github.com/dolthub/dolt/issues/9836
Name: "Ordering by pk does not change the order of results",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these tests, can you update to "select pk from test order by pk"? we don't need to test for casting here. You can also simplify the test to just include the 7 values

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also tag the entire test with Skip, instead of individual assertions

Copy link
Contributor

@angelamayxie angelamayxie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@elianddb elianddb merged commit 1b9f80d into main Sep 12, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistency between IN and = Operators
2 participants