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

Test new sqlite3mc SQLitePCLRaw bundle #32369

Closed
wants to merge 1 commit into from

Conversation

bricelam
Copy link
Contributor

No description provided.

@bricelam bricelam requested a review from a team November 20, 2023 22:08
@bricelam
Copy link
Contributor Author

bricelam commented Nov 28, 2023

@roji It looks like there's a regression in the native SQLite library here. The PrimitiveCollectionsQuerySqliteTest.Parameter_collection_Concat_column_collection test is now failing. Our query hasn't changed, but the result has.

.param set @__ints_0 '[11,111]'

SELECT "p"."Id", "p"."Bool", "p"."Bools", "p"."DateTime", "p"."DateTimes", "p"."Enum", "p"."Enums", "p"."Int", "p"."Ints", "p"."NullableInt", "p"."NullableInts", "p"."NullableString", "p"."NullableStrings", "p"."String", "p"."Strings"
FROM "PrimitiveCollectionsEntity" AS "p"
WHERE (
    SELECT COUNT(*)
    FROM (
        SELECT "i"."value"
        FROM json_each(@__ints_0) AS "i"
        UNION ALL
        SELECT "i0"."value"
        FROM json_each("p"."Ints") AS "i0"
    ) AS "t") = 2

@bricelam
Copy link
Contributor Author

It has something to do with the UNION ALL. It's causing all the counts to be 4. The counts for each component of the union are correct when ran separately.

@bricelam
Copy link
Contributor Author

I recommend we file an issue on SQLite and skip the test for now.

@ajcvickers
Copy link
Member

Replaced by #32562

@ajcvickers ajcvickers closed this Dec 8, 2023
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.

3 participants