Skip to content

SELECT behavior #97

@pp86

Description

@pp86

Please consider this query:


DATA_SET_VAR = SELECT(provider == "Campaner") HG19_BED_ANNOTATION;

MATERIALIZE DATA_SET_VAR into test_select;

It returns two samples.
Btw, no sample with provider = "Campaner" exists. The two output samples have the metadata original_provider = "Campaner".

What happens is that the SELECT checks is the attribute name ends with "provider".

I remember we decided to have a SQL-like approach, i.e. the names are splitted on "." (similar to the "mariage"/"age" example we discussed). So the results would be correct if the metadata was "original.provider", but not "original_provider".

Is anything changed in the specification, or should this be fixed?
@marcomass @sunbrn

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions