Open pheyvaer opened 2 years ago
Equal function ignores mapping in parameters.
- p: ex:test o: mapping: projects condition: function: equal parameters: - [str1, $(id), o] - [str2, $(employee-id), s]
In [str1, $(id), o] the third element o is ignored. It's always s. In [str2, $(employee-id), s] the third element s is ignored. It's always o.
[str1, $(id), o]
o
s
[str2, $(employee-id), s]
The two following snippets return the same RML. while the child and parent of the join condition should be switched.
- p: ex:test o: mapping: projects condition: function: equal parameters: - [str1, $(id), s] - [str2, $(employee-id), o]
v1.3.3 of the parser.
Issue type: :bug: Bug
Description
Equal function ignores mapping in parameters.
In
[str1, $(id), o]
the third elemento
is ignored. It's alwayss
. In[str2, $(employee-id), s]
the third elements
is ignored. It's alwayso
.Steps
The two following snippets return the same RML. while the child and parent of the join condition should be switched.
Environment
v1.3.3 of the parser.