Skip to content

Opportunistically fix create table for s3 tables#33

Closed
rampage644 wants to merge 1 commit into
mainfrom
rampage644/fix-create-table
Closed

Opportunistically fix create table for s3 tables#33
rampage644 wants to merge 1 commit into
mainfrom
rampage644/fix-create-table

Conversation

@rampage644
Copy link
Copy Markdown
Contributor

No description provided.

plan: LogicalPlan,
) -> Result<Option<Arc<dyn TableProvider>>> {
// Check if table already exists, if exists and CREATE OR REPLACE - drop it
if schema_provider.table_exist(&table_ref.table) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why if_not_exists amd or_replace logic removed?

@DanCodedThis
Copy link
Copy Markdown
Contributor

@rampage644 @osipovartem

> SHOW TABLES;

Error occurred: 010001 (02000): 9d466eb3-e5a2-4e66-a22b-1e853b18f61c: External error: Table next not found.
 > CREATE TABLE dandandan (name Varchar);
+-------+
| count |
|-------|
| 0     |
+-------+

 > SHOW TABLES;
+--------------------------------------------------------------+
| created_on | name      | kind  | database_name | schema_name |
|------------+-----------+-------+---------------+-------------|
| None       | dandandan | TABLE | embucket      | public      |
+--------------------------------------------------------------+

 > 

@rampage644 rampage644 closed this Nov 22, 2025
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.

3 participants