-
Notifications
You must be signed in to change notification settings - Fork 220
Add Iceberg lake-table DDL: CREATE ICEBERG TABLE, FOREIGN CATALOG, FOREIGN VOLUME (kernel scaffolding) #1842
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
base: main
Are you sure you want to change the base?
Changes from all commits
a8e5f53
c2bb7c0
b028fb8
5a679b2
b4704be
a81bd6b
73172e8
5be5f9f
272d910
c70fbf9
5105d02
f21763c
7e6e7ca
70b451a
32bda14
f6d3286
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,6 +72,7 @@ | |
| #include "catalog/storage.h" | ||
| #include "catalog/storage_directory_table.h" | ||
| #include "catalog/storage_xlog.h" | ||
| #include "commands/laketablecmds.h" | ||
| #include "commands/tablecmds.h" | ||
| #include "commands/typecmds.h" | ||
| #include "miscadmin.h" | ||
|
|
@@ -2322,6 +2323,10 @@ heap_drop_with_catalog(Oid relid) | |
| */ | ||
| CheckTableForSerializableConflictIn(rel); | ||
|
|
||
| /* If this is a lake table, remove its pg_lake_table entry */ | ||
| if (RelationIsIcebergTable(rel)) | ||
| RemoveLakeTableEntry(relid); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can RemoveLakeTableEntry put into extension via object_access_hook ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can migrate this logic to object_access_hook, but the issue is that the AM layer hasn’t been implemented yet on my end, which blocks the migration.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if you can provide a draft version, that's good. |
||
|
|
||
| /* | ||
| * Delete pg_foreign_table tuple first. | ||
| */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.