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

PXD-2174 ⁃ support querying array type in peregrine #90

Open
philloooo opened this issue Oct 19, 2018 · 2 comments
Open

PXD-2174 ⁃ support querying array type in peregrine #90

philloooo opened this issue Oct 19, 2018 · 2 comments

Comments

@philloooo
Copy link
Contributor

philloooo commented Oct 19, 2018

array types are supported in the dictionary, for example https://github.com/uc-cdis/gtex-dictionary/blob/master/gdcdictionary/schemas/case.yaml#L87

we should be able to search for an item in an array type, for example:

{
  case (consent_codes: ["a"]) {
    consent_codes
  }
}

match results which are superset of the query (see Phillis' comment)

@philloooo
Copy link
Contributor Author

I think we should be able to search

case (consent_codes: ["a", "b"]){
  consent_codes
} and return

case {
consent_codes: ["a", "b", "c"]
}

@philloooo
Copy link
Contributor Author

also general DataNode type interface should be fixed to handle non-string type fields

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

No branches or pull requests

2 participants