Skip to content

fix (parsecdCache): missing 'score' column on older iOS#1374

Merged
stark4n6 merged 1 commit intoabrignoni:mainfrom
zelvann:fix-parsecdCache-score-column
Feb 4, 2026
Merged

fix (parsecdCache): missing 'score' column on older iOS#1374
stark4n6 merged 1 commit intoabrignoni:mainfrom
zelvann:fix-parsecdCache-score-column

Conversation

@zelvann
Copy link
Contributor

@zelvann zelvann commented Dec 6, 2025

image

There is no column named "score" in the completion_cache_engagement table. Although the data exists, it is still not reported because it throws an error message. To handle this, I first check whether the column exists or not by using pragma table_info. If it is, it or "score" will be reported with other columns. Otherwise, it will still be reported without the "score" column

Have tested with iOS versions 12 and 13 (There is no column "score" yet).

Please, review this along with the check using the table with the score column.

@zelvann zelvann changed the title fix (parsecdCache): make an additional check for 'score' column fix (parsecdCache): missing 'score' column on older iOS Dec 6, 2025
@snoop168
Copy link
Collaborator

@stark4n6 I tested this. It works fine with dataasets that have the "score" column still. Should be good to merge.

I think this is a more complete solution as compared to the portion of PR #1393 that attempts to address this. #1393 only wraps in a try/except but this PR actually dynamically selects the columns

@stark4n6 stark4n6 merged commit 52c087f into abrignoni:main Feb 4, 2026
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