Skip to content

fix: remove null value inclusion from whereNotEqualTo and whereNotIn filter results #6859

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

Merged
merged 5 commits into from
Apr 11, 2025

Conversation

milaGGL
Copy link
Contributor

@milaGGL milaGGL commented Apr 9, 2025

Copy link
Contributor

github-actions bot commented Apr 9, 2025

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 9, 2025

Coverage Report 1

Affected Products

  • firebase-firestore

    Overall coverage changed from 45.77% (70c8e89) to 45.77% (796dd1d) by +0.00%.

    FilenameBase (70c8e89)Merge (796dd1d)Diff
    DeleteMutation.java90.48%95.24%+4.76%
    FieldFilter.java94.20%94.37%+0.16%
    LruGarbageCollector.java97.27%93.64%-3.64%
    NotInFilter.java85.71%88.89%+3.17%
    PatchMutation.java100.00%98.39%-1.61%
    SetMutation.java94.44%97.22%+2.78%
    Value.java41.22%41.48%+0.25%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/um1lMEGb5d.html

Copy link
Contributor

github-actions bot commented Apr 9, 2025

Test Results

  186 files  ±0    186 suites  ±0   4m 29s ⏱️ -8s
1 235 tests ±0  1 219 ✅ ±0  16 💤 ±0  0 ❌ ±0 
2 494 runs  ±0  2 462 ✅ ±0  32 💤 ±0  0 ❌ ±0 

Results for commit 2fa8a24. ± Comparison against base commit 70c8e89.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 9, 2025

Size Report 1

Affected Products

  • firebase-firestore

    TypeBase (70c8e89)Merge (796dd1d)Diff
    aar1.45 MB1.45 MB+54 B (+0.0%)
    apk (release)11.4 MB11.4 MB+28 B (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/6V7SeskilU.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 9, 2025

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

  • fire-fst

    DeviceStatisticsDistributions
    oriole-32
    Percentile70c8e89796dd1dDiffSignificant (?)
    p10255 ±13 μs267 ±17 μs+11.9 μs (+4.7%)NO
    p25264 ±13 μs277 ±18 μs+12.9 μs (+4.9%)NO
    p50277 ±15 μs297 ±32 μs+20.6 μs (+7.4%)NO
    p75308 ±38 μs348 ±80 μs+40.9 μs (+13.3%)NO
    p90352 ±66 μs466 ±201 μs+114 μs (+32.4%)NO

    20 test runs in comparison
    CommitTest Runs
    70c8e89
    • 2025-04-10_19:43:20.185599_ofvb
    • 2025-04-10_19:43:20.185631_CbkX
    • 2025-04-10_19:43:20.185644_xSdJ
    • 2025-04-10_19:43:20.185652_ahSU
    • 2025-04-10_19:43:20.185660_MelI
    • 2025-04-10_19:43:20.185668_rsTl
    • 2025-04-10_19:43:20.185675_pBds
    • 2025-04-10_19:43:20.185681_WXCN
    • 2025-04-10_19:43:20.185688_WkbI
    • 2025-04-10_19:43:20.185694_Yvhm
    796dd1d
    • 2025-04-10_21:18:02.661090_saFq
    • 2025-04-10_21:18:02.661118_qEqk
    • 2025-04-10_21:18:02.661140_gLma
    • 2025-04-10_21:18:02.661146_CLMo
    • 2025-04-10_21:18:02.661151_WqWh
    • 2025-04-10_21:18:02.661155_KzhU
    • 2025-04-10_21:18:02.661159_tkAp
    • 2025-04-10_21:18:02.661163_BixF
    • 2025-04-10_21:18:02.661166_CPOt
    • 2025-04-10_21:18:02.661171_QIcZ
    redfin-30
    Percentile70c8e89796dd1dDiffSignificant (?)
    p10468 ±19 μs497 ±31 μs+28.9 μs (+6.2%)NO
    p25486 ±24 μs511 ±35 μs+25.5 μs (+5.2%)NO
    p50506 ±27 μs532 ±41 μs+26.0 μs (+5.1%)NO
    p75532 ±35 μs558 ±45 μs+26.5 μs (+5.0%)NO
    p90566 ±52 μs589 ±50 μs+22.5 μs (+4.0%)NO

    20 test runs in comparison
    CommitTest Runs
    70c8e89
    • 2025-04-10_19:43:20.185599_ofvb
    • 2025-04-10_19:43:20.185631_CbkX
    • 2025-04-10_19:43:20.185644_xSdJ
    • 2025-04-10_19:43:20.185652_ahSU
    • 2025-04-10_19:43:20.185660_MelI
    • 2025-04-10_19:43:20.185668_rsTl
    • 2025-04-10_19:43:20.185675_pBds
    • 2025-04-10_19:43:20.185681_WXCN
    • 2025-04-10_19:43:20.185688_WkbI
    • 2025-04-10_19:43:20.185694_Yvhm
    796dd1d
    • 2025-04-10_21:18:02.661090_saFq
    • 2025-04-10_21:18:02.661118_qEqk
    • 2025-04-10_21:18:02.661140_gLma
    • 2025-04-10_21:18:02.661146_CLMo
    • 2025-04-10_21:18:02.661151_WqWh
    • 2025-04-10_21:18:02.661155_KzhU
    • 2025-04-10_21:18:02.661159_tkAp
    • 2025-04-10_21:18:02.661163_BixF
    • 2025-04-10_21:18:02.661166_CPOt
    • 2025-04-10_21:18:02.661171_QIcZ
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile70c8e89796dd1dDiffSignificant (?)
    p10197 ±5 ms201 ±4 ms+3.45 ms (+1.7%)NO
    p25204 ±5 ms206 ±3 ms+2.87 ms (+1.4%)NO
    p50210 ±5 ms214 ±3 ms+3.39 ms (+1.6%)NO
    p75218 ±5 ms223 ±5 ms+4.80 ms (+2.2%)NO
    p90225 ±6 ms235 ±9.6 ms+9.79 ms (+4.3%)NO

    20 test runs in comparison
    CommitTest Runs
    70c8e89
    • 2025-04-10_19:43:20.185599_ofvb
    • 2025-04-10_19:43:20.185631_CbkX
    • 2025-04-10_19:43:20.185644_xSdJ
    • 2025-04-10_19:43:20.185652_ahSU
    • 2025-04-10_19:43:20.185660_MelI
    • 2025-04-10_19:43:20.185668_rsTl
    • 2025-04-10_19:43:20.185675_pBds
    • 2025-04-10_19:43:20.185681_WXCN
    • 2025-04-10_19:43:20.185688_WkbI
    • 2025-04-10_19:43:20.185694_Yvhm
    796dd1d
    • 2025-04-10_21:18:02.661090_saFq
    • 2025-04-10_21:18:02.661118_qEqk
    • 2025-04-10_21:18:02.661140_gLma
    • 2025-04-10_21:18:02.661146_CLMo
    • 2025-04-10_21:18:02.661151_WqWh
    • 2025-04-10_21:18:02.661155_KzhU
    • 2025-04-10_21:18:02.661159_tkAp
    • 2025-04-10_21:18:02.661163_BixF
    • 2025-04-10_21:18:02.661166_CPOt
    • 2025-04-10_21:18:02.661171_QIcZ
    redfin-30
    Percentile70c8e89796dd1dDiffSignificant (?)
    p10224 ±2 ms248 ±5 ms+24.4 ms (+10.9%)YES
    p25230 ±2 ms255 ±6 ms+25.5 ms (+11.1%)MAYBE
    p50237 ±2 ms265 ±7 ms+27.7 ms (+11.7%)MAYBE
    p75245 ±2 ms277 ±13 ms+32.4 ms (+13.2%)NO
    p90253 ±3 ms297 ±26 ms+43.5 ms (+17.2%)NO

    20 test runs in comparison
    CommitTest Runs
    70c8e89
    • 2025-04-10_19:43:20.185599_ofvb
    • 2025-04-10_19:43:20.185631_CbkX
    • 2025-04-10_19:43:20.185644_xSdJ
    • 2025-04-10_19:43:20.185652_ahSU
    • 2025-04-10_19:43:20.185660_MelI
    • 2025-04-10_19:43:20.185668_rsTl
    • 2025-04-10_19:43:20.185675_pBds
    • 2025-04-10_19:43:20.185681_WXCN
    • 2025-04-10_19:43:20.185688_WkbI
    • 2025-04-10_19:43:20.185694_Yvhm
    796dd1d
    • 2025-04-10_21:18:02.661090_saFq
    • 2025-04-10_21:18:02.661118_qEqk
    • 2025-04-10_21:18:02.661140_gLma
    • 2025-04-10_21:18:02.661146_CLMo
    • 2025-04-10_21:18:02.661151_WqWh
    • 2025-04-10_21:18:02.661155_KzhU
    • 2025-04-10_21:18:02.661159_tkAp
    • 2025-04-10_21:18:02.661163_BixF
    • 2025-04-10_21:18:02.661166_CPOt
    • 2025-04-10_21:18:02.661171_QIcZ

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/aKDayINja2/index.html

@milaGGL milaGGL changed the title fix: remove null value inclusion from != and not-in filter results fix: remove null value inclusion from whereNotEqualTo and whereNotIn filter results Apr 10, 2025
Copy link
Contributor

@ehsannas ehsannas left a comment

Choose a reason for hiding this comment

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

LGTM. Asked for one more check in the test.

@milaGGL milaGGL merged commit edcea54 into main Apr 11, 2025
37 of 43 checks passed
@milaGGL milaGGL deleted the mila/fix-incorrect-null-value-inclusion branch April 11, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants