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

Dependency manager powered export #82

Draft
wants to merge 267 commits into
base: logical_dependency
Choose a base branch
from

Conversation

Tishj
Copy link
Owner

@Tishj Tishj commented Nov 2, 2023

Continuation on #81

This PR will:

We introduce LogicalDependency as a precursor to PhysicalDependency, this merely contains the information needed to look up the catalog entry, so it's safe to serialize/deserialize

Inside SingleFileCheckpointWriter::CreateCheckpoint() there was a duplicate of GetNaiveExportOrder, this now uses the DependencyManager::GetExportOrder method

Views now create a dependency on the table they're referencing (as long as they are in the same catalog)
This changes some existing behavior, but is in line with postgres behavior

postgres=# drop table tbl;
ERROR:  cannot drop table tbl because other objects depend on it
DETAIL:  view vw depends on table tbl
HINT:  Use DROP ... CASCADE to drop the dependent objects too.

1: Indexes are not included in this, this requires some additional work that needs to be done outside of this PR

Tishj added 30 commits August 20, 2023 07:53
…pendency where possible, especially CheckpointManager is interesting here because for attached databases the catalog is not available through Catalog::GetEntry
Hannes Mühleisen and others added 30 commits April 2, 2024 09:09
Due to random failure connected to cert, possibly see hendrikmuhs/ccache-action#184
Fix duckdb#11246: Use SetConsoleCP function to set input to UTF8 when reading
CLI: Add support for ".edit" or "\e"
Fix VS2022 Preview ClangCl build
Remove an unnecessary line from bind_insert.cpp
…inder

Move BindCreateIndex from Catalog to Binder
[Substrait-ADBC] Fix for substrait plan execution via ADBC
Removing abort() from RE2 again because Google refuses to use exceptions
…asis, as such they cannot exceed the STANDARD_VECTOR_SIZE and we do not need to use 8-byte identifiers for them but can use a uint16_t instead
[ODBC] Add escape character to ParseStringFilter to support Power Query ('table_name' is escaped to 'table\_name')
Bump to post-portfile change for duckdb_azure
Reduce memory usage of DELETE operations
…index-on-binder

Revert "Move BindCreateIndex from Catalog to Binder"
[Dev] Do not use CatalogEntry references inside Dependency objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.