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

Query property graph on unspecified property expression should return error #198

Open
2 tasks done
dentiny opened this issue Jan 19, 2025 · 0 comments
Open
2 tasks done

Comments

@dentiny
Copy link
Contributor

dentiny commented Jan 19, 2025

What happens?

A followup issue for #190

In the PR, I implement the basic property existence check based on the property name, but it doesn't check property expression.

To Reproduce

The expected SQL result:

statement ok
create table person (name varchar, lastname varchar); insert into person values ('Alice', 'Foo');

statement ok 
-create property graph pg vertex tables (person properties (name));

query I
-from graph_table (pg match (p:person) columns (p.name || p.name as name));
----
AliceAlice

statement error
-from graph_table (pg match (p:person) columns(p.name, p.name || p.lastname)); 
----
BinderException: p.notregistered is not a registered property for label person in property graph pg

OS:

ubuntu 22.04

DuckDB Version:

c380346433

DuckDB Client:

build from scratch

Full Name:

Hao

Affiliation:

N/A

How did you load the extension?

Built from source

Did you include all relevant data sets for reproducing the issue?

Yes

Did you include all code required to reproduce the issue?

  • Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

  • Yes, I have
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant