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

filter operator #5

Open
2 tasks
hadrienk opened this issue Oct 21, 2016 · 0 comments
Open
2 tasks

filter operator #5

hadrienk opened this issue Oct 21, 2016 · 0 comments

Comments

@hadrienk
Copy link
Owner

Dataset ds_1 := Dataset ds_2
[filter Component f]

  • Test that f is a Component expression over the Components of ds_1 (static).
  • Model interactions with other operators, such as if a filter is performed on a union, the filter gets applied on the datasets (evaluate the performance impact as well)
hadrienk referenced this issue in statisticsnorway/java-vtl Feb 14, 2017
…ns to develop

* commit '5407e4d27523f79cdfaa6d8515d3d15a66507b0c':
  Generalize boolean comparision operation to handle a mix of component and scalar operands
  Impement boolean comparison operators
  Boolean expression with equal to for join
hadrienk added a commit that referenced this issue Nov 16, 2017
I used guava graph to represent the hierarchy in memory. I deviated from the specification in the sense that it is possible to send a dataset instead of a hierarchy name, provided that it follows the following rules:

one and only one column must be named from
one and only one column must be named to
one and only one column must be named sign
from and to must be of the same type
from must be string (until we have a strong type system)
the values in the column sign can be "+"/"plus", "-"/"minus"
The resulting graph must be acyclic, the operation will fail and return a message containing the cycle if not. Only sum is supported but adding the product should be easy.
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

1 participant