Nested projection using wildcard problem
@luigidellaquila is already working on this.
Since Jun 1, 2020.
Assessment
This issue has not been assessed yet.
Description
OrientDB Version: 3.0.31
Java Version: 1.8
OS: linux
Expected behavior
If there is a name attribute then I would expect na* in a nested projection to include something like "name":"some name"
Actual behavior
In my case it returns "na":null
Steps to reproduce
create class Test_1 extends V
create class Test_2 extends V
INSERT INTO Test_1 CONTENT {"name": "Joe", "surname": "Miner"}
INSERT INTO Test_2 CONTENT {"name": "Jay", "surname": "Miner"}
CREATE CLASS test_edge1 EXTENDS E
create edge test_edge1 from (select from Test_1 where name ="Joe") to (select from Test_2 where name ="Jay")
select out(test_edge1):{*} from Test_1 --> Works
select out(test_edge1):{*,!in_*} from Test_1 --> Works
select out(test_edge1):{!in_*} from Test_1 --> Works
select out(test_edge1):{name} from Test_1 --> Works
select out(test_edge1):{surname} from Test_1 --> Works
select out(test_edge1):{!na*} from Test_1 --> Works
select out(test_edge1):{*,!na*} from Test_1 --> Works
select out(test_edge1):{na*} from Test_1 --> Doesn't Work
select out(test_edge1):{sur*} from Test_1 --> Doesn't Work
- Dominant language
- Java
- Stars
- 5k
- Forks
- 868
- Avg merge
- 15h 6m
- Merged PRs (30d)
- 18
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from orientechnologies/orientdb
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
orientechnologies/orientdb#9317 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
orientechnologies/orientdb#10865 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
orientechnologies/orientdb#10864 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
orientechnologies/orientdb#10856 · 7 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
orientechnologies/orientdb#10813 · 1 comment ·
All issues in orientechnologies/orientdb
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·