-
Notifications
You must be signed in to change notification settings - Fork 124
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
Runtime: duckdb sqlite extensions based connector for sqlite #3018
Conversation
k-anshul
commented
Sep 4, 2023
•
edited
Loading
edited
- Adds a sqlite connector
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I took a look at this PR and added some comments in Notion here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also merge main and update for changed driver interfaces?
@@ -175,7 +175,7 @@ func (a *AST) traverseTableFunction(parent astNode, childKey string) { | |||
case "read_csv_auto", "read_csv", | |||
"read_parquet", | |||
"read_json", "read_json_auto", "read_json_objects", "read_json_objects_auto", | |||
"read_ndjson_objects", "read_ndjson", "read_ndjson_auto": | |||
"read_ndjson_objects", "read_ndjson", "read_ndjson_auto", "sqlite_scan": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems weird – the value passed to sqlite_scan
isn't really a path. Should we handle it as a separate case? And also check the callers to duckdbsql
that they can handle sqlite table functions (they might assume it's a file right now).
Co-authored-by: Benjamin Egelund-Müller <[email protected]>