databendlabs / databend

𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.89k stars 753 forks source link

tracking: CREATE OR REPLACE #14229

Closed BohuTANG closed 9 months ago

BohuTANG commented 10 months ago

Summary

CREATE OR REPLACEmeans "if the object exists, drop it, then create it", with it we can simple all the object operations:

DROP IF EXISTS ....
CREATE ...

into one:

CREATE OR REPLACE ...
lichuang commented 10 months ago
BohuTANG commented 10 months ago

Now, what we have left are these objects need to do:

PsiACE commented 9 months ago

I want to try implementing some of them. I will try to track in this comment.

BohuTANG commented 9 months ago

Add:

Seems all is here.

PsiACE commented 9 months ago

External Function has been supported in #14581.

lichuang commented 9 months ago

create share only create a named share, without any other params, i think there is no need to impl or replace when create share: https://docs.databend.com/sql/sql-commands/ddl/share/

BohuTANG commented 9 months ago

Spilled out https://github.com/datafuselabs/databend/issues/14661, this tracking is all done.