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

[VQL] enable "value" in filters as à column #425

Open
antonylebechec opened this issue May 8, 2022 · 0 comments
Open

[VQL] enable "value" in filters as à column #425

antonylebechec opened this issue May 8, 2022 · 0 comments
Assignees
Labels
core Cutevariant core enhancement New feature or request

Comments

@antonylebechec
Copy link
Collaborator

In order to be able to create VQL with column comparison, enable "value" as a column.
Example:
SELECT chr,pos,ref,alt FROM variant WHERE ref = alt

Suggestion:

  • add in sql.txt: "ValueIdentifier: (NUMBER|STRING|BOOL|Tuple|WordSetIdentifier|"NULL"|FieldIdentifier);"
  • add in sql.py a detection of field in tables "variants, "annotations" and "sample_has_variant"
@antonylebechec antonylebechec added enhancement New feature or request core Cutevariant core labels May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Cutevariant core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants