Fix deadlocks during table registratin/deregistration#34
Conversation
|
@osipovartem When I try to create a table that already exists, I get this error: > SHOW TABLES;
Error occurred: 010001 (02000): 97918652-5c44-4f0b-99e7-38e83b31ba3b: External error: Table next not found.
> CREATE TABLE embucket.public.dan (name Varchar);
Error occurred: 010001 (02000): c595d368-e9bd-49f1-a34a-d9ae2aeb086f: Iceberg error: service error
> CREATE TABLE embucket.public.dandandan (name Varchar);
Error occurred: 010001 (02000): c51244c1-2313-4afd-a3aa-2328d50e5b1e: Iceberg error: service error
> SHOW TABLES;
+--------------------------------------------------------------+
| created_on | name | kind | database_name | schema_name |
|------------+-----------+-------+---------------+-------------|
| None | dan | TABLE | embucket | public |
| None | dandandan | TABLE | embucket | public |
+--------------------------------------------------------------+KEEP IN MIND If you create first time and use For example, you can do this: > CREATE TABLE embucket.public.dandandan (name Varchar);
Error occurred: 010001 (02000): 576f7be9-9fb2-4104-b4c4-ad61a993c6fb: Iceberg error: service error
> SHOW TABLES;
+--------------------------------------------------------------+
| created_on | name | kind | database_name | schema_name |
|------------+-----------+-------+---------------+-------------|
| None | dandandan | TABLE | embucket | public |
+--------------------------------------------------------------+HOWEVER, probably this is related more to #32 than this bug. |
To recreate the table you need to call CREATE OR REPLACE |
|
@osipovartem It's more of a registering it back so that metastore would be able to list it thing. But regardless, I think we can merge this! |
No description provided.