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

Implement replacement framework in binder. #2404

Closed
acquamarin opened this issue Nov 14, 2023 · 1 comment
Closed

Implement replacement framework in binder. #2404

acquamarin opened this issue Nov 14, 2023 · 1 comment
Assignees
Labels
feature New features or missing components of existing features frontend Frontend, i.e., binder, parser, query planning-related issues

Comments

@acquamarin
Copy link
Collaborator

acquamarin commented Nov 14, 2023

In duckdb, when the user tries to query a table which is not defined in the binder, their binder will try to call the replace function to replace the table.
E.g. the user tries to scan from a pandas table which is unknown to the binder, the replacement function will then be called to replace the pandas dataframe with the py::handle pointer.
LOAD FROM person RETURN * (where person is a pandas dataframe and not a table name in kuzu). Since the person table is unknown to binder, binder will call the replacement function to bind the person label.

@semihsalihoglu-uw semihsalihoglu-uw added feature New features or missing components of existing features frontend Frontend, i.e., binder, parser, query planning-related issues labels Jan 8, 2024
@andyfengHKU
Copy link
Contributor

This is mostly done in PR #2731

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or missing components of existing features frontend Frontend, i.e., binder, parser, query planning-related issues
Projects
None yet
Development

No branches or pull requests

3 participants