Skip to content

Test new sqlite3mc SQLitePCLRaw bundle - #32369

Closed
bricelam wants to merge 1 commit into
dotnet:mainfrom
bricelam:sqlite3mc
Closed

Test new sqlite3mc SQLitePCLRaw bundle#32369
bricelam wants to merge 1 commit into
dotnet:mainfrom
bricelam:sqlite3mc

Conversation

@bricelam

Copy link
Copy Markdown
Contributor

No description provided.

@bricelam
bricelam requested a review from a team November 20, 2023 22:08
@bricelam

bricelam commented Nov 28, 2023

Copy link
Copy Markdown
Contributor Author

@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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@ajcvickers

Copy link
Copy Markdown
Contributor

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