-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Lift update binding logic from DuckTableEntry to TableCatalogEntry #7874
Conversation
Thanks for the PR! LGTM. This might require some tweaking in the SQLite extension as well. The single-file compilation (compiling with |
@Mytherin the compilation issue should be fixed now. Any tips on how to the SQLite extension? I'm not sure what the process is because in another repo |
Generally we send a PR to the external repo and merge it first, and then update extensions.csv with the new git hash as part of the PR here |
@Mytherin I've put up a pr to sql lite, but I'm clearly not following the right process to validate it. Can you point me at where I can read the steps? |
The SQLite scanner still uses the old extension mechanism which is not very well documented. You can update |
@Mytherin done. Thanks. |
@Mytherin lmk if the thread santinzer issue looks to you like it was caused by this pr. |
The thread sanitizer issues appear to be caused by |
…trigger UBSAN on RE2
… we need to explicitly slice it
…thod of parallel reader
The `DatabaseManager::default_database` is returned by `DatabaseManager::GetDefaultDatabase` when the default catalog in the search path is invalid. This commit adds a method to change `default_database`. This makes it possible that new `Connection`s can use a database other than 'memory' as default.
…faultDatabase' Most functions that call 'SetDefaultDatabase' will already have an active transaction, hence it is not necessary to create a new one.
@@ -37,7 +37,7 @@ class TableFunction; | |||
struct FunctionData; | |||
|
|||
class TableColumnInfo; | |||
class TableIndexInfo; | |||
class ColumnSegmentInfo; |
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.
class ColumnSegmentInfo; | |
struct ColumnSegmentInfo; |
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.
- I would add line:
catalog/catalog_entry/table_catalog_entry.cpp 3
somewhere in .github/config/uncovered_lines.csv.
Thanks!
Co-authored-by: Carlo Piovesan <piovesan.carlo@gmail.com>
Binding the update operator requires some careful handling of indices. All of that currently happens in the DuckTableEntry class but it seems there's nothing really DuckTable specific in it. We can lift it to the base class TableCatalogEntry, so the logic is available for custom catalog implementation.