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

Postgres column doesn't roundtrip for type Maybe (Vector Text) #692

Open
roberth opened this issue Aug 27, 2023 · 0 comments
Open

Postgres column doesn't roundtrip for type Maybe (Vector Text) #692

roberth opened this issue Aug 27, 2023 · 0 comments
Labels

Comments

@roberth
Copy link
Contributor

roberth commented Aug 27, 2023

I have a table with

    labels :: Columnar f (Maybe (Vector Text))

Inserts work fine. Nothing and Just [] are distinct in the database, as expected.
However, queries return Just [] when they should Nothing.

This might be a problem with the FromBackendRow instance for Maybe and/or Vector.

Found on beam version 6b3e4c9

@tathougies tathougies added the bug label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants