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

Beware order of fields by not using DISTINCT #25

Merged
merged 2 commits into from
Sep 8, 2022
Merged

Conversation

signedav
Copy link
Member

@signedav signedav commented Sep 8, 2022

As far as I understand it, the DISTINCT is not needed anymore.

Fixes opengisch/QgisModelBaker#466

@signedav
Copy link
Member Author

signedav commented Sep 8, 2022

@gacarrillor Do you agree that the DISTINCT can be discarded?

@signedav
Copy link
Member Author

signedav commented Sep 8, 2022

I merge that to put it to an early experimental version.

@signedav signedav merged commit eb1d553 into main Sep 8, 2022
@signedav signedav deleted the orderpgfields branch September 8, 2022 10:36
@gacarrillor
Copy link
Collaborator

@gacarrillor Do you agree that the DISTINCT can be discarded?

Even though I'd test the final SQL expressions in a DB just to be sure (not something in my pending list), according to the comment in the code, yes, it could be discarded :)

@signedav
Copy link
Member Author

signedav commented Sep 8, 2022

Thanks @gacarrillor I tested it with some model implementations (in PG).

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.

Order of attributes
2 participants