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

Better error messages #2726

Closed
2 tasks done
semihsalihoglu-uw opened this issue Jan 26, 2024 · 1 comment
Closed
2 tasks done

Better error messages #2726

semihsalihoglu-uw opened this issue Jan 26, 2024 · 1 comment
Assignees
Labels
frontend Frontend, i.e., binder, parser, query planning-related issues usability Issues related to better usability experience, including bad error messages

Comments

@semihsalihoglu-uw
Copy link
Contributor

semihsalihoglu-uw commented Jan 26, 2024

  • Non-existing function in CALL: I am not sure if this applies to non-existing function calls in other expressions but in CALL the following happens:
kuzu> CALL show_table("small_r") RETURN *;
Error: unordered_map::at: key not found

Let's say something like: "show_table is not a valid function name".

  • Non-existing node table:
MATCH (a:kz_ex_rt) RETURN *;
Error: Assertion failed in file "/Users/ssalihog/projects/vs-code-projects/kuzu/kuzu-master/src/binder/bind/bind_graph_pattern.cpp" on line 606: KU_UNREACHABLE

Let's say something like: "kz_ex_rt is not a valid node table name".

@semihsalihoglu-uw semihsalihoglu-uw added usability Issues related to better usability experience, including bad error messages frontend Frontend, i.e., binder, parser, query planning-related issues labels Jan 26, 2024
@semihsalihoglu-uw semihsalihoglu-uw changed the title Better error message for non-existing function call in CALL statement Better error messages Jan 26, 2024
This was referenced Jan 31, 2024
@andyfengHKU
Copy link
Contributor

Fixed in #2749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend, i.e., binder, parser, query planning-related issues usability Issues related to better usability experience, including bad error messages
Projects
None yet
Development

No branches or pull requests

2 participants