Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Bad input of "group by" accepted #157

Open
hunhoffe opened this issue Feb 28, 2022 · 0 comments
Open

Bad input of "group by" accepted #157

hunhoffe opened this issue Feb 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@hunhoffe
Copy link
Contributor

Describe the bug

I have a (very inefficient) constraint that looks something like this:

    final String APP_CORE_LIST_VIEW =
            "create constraint app_colocation as \n" +
                    "select applications.id as app, processes.controllable__core as core " +
                    " from applications join processes on applications.process_id = processes.id " +
                    "group by applications.id, processes.controllable__core";

It's come to my attention that this type of constraint should not be allowed.

Reproduction steps

1. Try to create a minimal example
2. If the minimal example fails, ask Erika for her (very very messy) minimal example
3. Reproduce using the repo Erika will give you access to
...

Expected behavior

The constraint is accepted without error.

Additional context

No response

@hunhoffe hunhoffe added the bug Something isn't working label Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant