Skip to content

fix(lapis): isNull() advanced queries now also produce isNull RhyDB queries - #1918

Merged
fengelniederhammer merged 1 commit into
mainfrom
fixNullLineageFilter
Oct 21, 2026
Merged

fengelniederhammer merged 1 commit into
mainfrom
fixNullLineageFilter

Conversation

@fengelniederhammer

Copy link
Copy Markdown
Contributor

RhyOrg/RhyDB#1710 broke a test, since lineage queries don't accept null anymore

PR Checklist

  • All necessary documentation has been adapted.
  • All necessary changes are explained in the llms.txt.
  • The implemented feature is covered by an appropriate test.

…DB queries

RhyOrg/RhyDB#1710 broke a test, since lineage queries don't accept `null` anymore
@fengelniederhammer
fengelniederhammer requested review from fhennig and a balanced review from Copilot October 20, 2026 15:59
@fengelniederhammer fengelniederhammer self-assigned this Oct 20, 2026
@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lapis Ready Ready Preview Oct 20, 2026 3:59pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

Static review supports the consistent use of existing IsNull functionality with no unresolved issues; tests were not executed.

No open issues 🎉

What changed in this PR

Updates advanced-query null checks to use RhyDB’s dedicated IsNull expression, restoring compatibility with lineage queries that no longer accept null values.

Changes:

  • Uses IsNull consistently across metadata types.
  • Makes equality-filter values non-nullable and updates tests.
  • Documents LAPIS 0.9.1 compatibility with RhyDB 0.17.0.
File Description
README.md Adds the compatibility entry.
lapis/​src/​test/​kotlin/​org/​genspectrum/​lapis/​rhydb/​RhyDbQueryToSaneQlTest.kt Removes obsolete nullable-equality conversion cases.
lapis/​src/​test/​kotlin/​org/​genspectrum/​lapis/​rhydb/​RhyDbQueryTest.kt Removes obsolete nullable-equality serialization cases.
lapis/​src/​test/​kotlin/​org/​genspectrum/​lapis/​model/​AdvancedQueryFacadeTest.kt Updates null-check expectations to IsNull.
lapis/​src/​main/​kotlin/​org/​genspectrum/​lapis/​rhydb/​RhyDbQuery.kt Requires non-null equality values and simplifies conversion.
lapis/​src/​main/​kotlin/​org/​genspectrum/​lapis/​model/​AdvancedQueryCustomListener.kt Maps all advanced null checks to IsNull.

Review effort: Balanced

@fengelniederhammer
fengelniederhammer added this pull request to stack #1920 October 20, 2026 16:35
@fhennig

fhennig commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

@fengelniederhammer there is a failing test

@fengelniederhammer

Copy link
Copy Markdown
Contributor Author

@fengelniederhammer there is a failing test

The next PR in the stack solves the issue (there were two breaking changes in RhyDB)

@fengelniederhammer
fengelniederhammer merged commit 76beb2d into main Oct 21, 2026
8 of 9 checks passed
@fengelniederhammer
fengelniederhammer deleted the fixNullLineageFilter branch October 21, 2026 11:54
fengelniederhammer pushed a commit that referenced this pull request Oct 22, 2026
🤖 I have created a release *beep* *boop*
---


## [0.9.1](v0.9.0...v0.9.1)
(2026-10-21)


### Bug Fixes

* **lapis:** `isNull()` advanced queries now also produce `isNull` RhyDB
queries ([#1918](#1918))
([76beb2d](76beb2d))
* **lapis:** handle large arrow strings from RhyDB
([#1919](#1919))
([ba73ea3](ba73ea3))
* **lapis:** render empty Or and And as valid SaneQL
([#1925](#1925))
([7b15acb](7b15acb))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 71e0985d Deployed Oct 20, 2026 by vercel[bot]
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