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

Spec for json column regression #608

Conversation

oleksii-leonov
Copy link
Contributor

@oleksii-leonov oleksii-leonov commented Dec 6, 2019

Starting 4d1f0d4 .distinct used in build_relation (if joins present).

DISTINCT would fail when used on tables with json columns (PostgreSQL have no equality operator for type json).
Example: ERROR: could not identify an equality operator for type json LINE 1: SELECT DISTINCT "users".* FROM ...

Looks like this is regression, so added spec to cover this case.
This PR intentionally fails (TravisCI) on develop branch for postgresql adapter (due to regression).

Regression was added using DISTINCT for `build_relation`.
@oleksii-leonov oleksii-leonov changed the title Add spec for json column regression Spec for json column regression Dec 6, 2019
@oleksii-leonov
Copy link
Contributor Author

#605 could be a solution.

@coorasse
Copy link
Member

coorasse commented Mar 6, 2020

closed in #619

@coorasse coorasse closed this Mar 6, 2020
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.

None yet

2 participants