Skip to content

feat: add IF EXISTS for DROP#123

Merged
waynexia merged 3 commits intoGreptimeTeam:mainfrom
zuston:patch-1
Nov 24, 2023
Merged

feat: add IF EXISTS for DROP#123
waynexia merged 3 commits intoGreptimeTeam:mainfrom
zuston:patch-1

Conversation

@zuston
Copy link
Copy Markdown
Contributor

@zuston zuston commented Nov 23, 2023

For GreptimeTeam/greptimedb#2794

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

  • Summarize your change

Add the drop_if_exists to match the mysql statement for drop

  • How does this PR work? Need a brief introduction for the changed logic (optional)
  • Describe clearly one logical change and avoid lazy messages (optional)
  • Describe any limitations of the current code (optional)

Checklist

  • I have written the necessary comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@zuston
Copy link
Copy Markdown
Contributor Author

zuston commented Nov 23, 2023

PTAL @sunng87 @waynexia

@waynexia
Copy link
Copy Markdown
Member

Please run make to generate language-specific code

@zuston
Copy link
Copy Markdown
Contributor Author

zuston commented Nov 23, 2023

Please run make to generate language-specific code

Oh yes. I thought the generated code will be did by the bot.

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@waynexia waynexia enabled auto-merge (squash) November 24, 2023 02:37
Copy link
Copy Markdown
Member

@sunng87 sunng87 left a comment

Choose a reason for hiding this comment

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

LGTM.

Can you make a rebase to solve conflicts? Thank you!

@zuston
Copy link
Copy Markdown
Contributor Author

zuston commented Nov 24, 2023

LGTM.

Can you make a rebase to solve conflicts? Thank you!

Sorry, it has some conflict and can't rebase. BTW, I don't have complete compile chain like golang and cmake in my mac.

@waynexia
Copy link
Copy Markdown
Member

LGTM.
Can you make a rebase to solve conflicts? Thank you!

Sorry, it has some conflict and can't rebase. BTW, I don't have complete compile chain like golang and cmake in my mac.

Our makefile utilizes docker to generate code, only a docker env is required

@zuston
Copy link
Copy Markdown
Contributor Author

zuston commented Nov 24, 2023

LGTM.
Can you make a rebase to solve conflicts? Thank you!

Sorry, it has some conflict and can't rebase. BTW, I don't have complete compile chain like golang and cmake in my mac.

Our makefile utilizes docker to generate code, only a docker env is required

Yes, but my personal mac's docker client is connected to my company's internal docker server due to the limited disk space. And I found the golang dependency is still needed.

image

@waynexia waynexia merged commit 2aaee38 into GreptimeTeam:main Nov 24, 2023
@waynexia
Copy link
Copy Markdown
Member

LGTM.
Can you make a rebase to solve conflicts? Thank you!

Sorry, it has some conflict and can't rebase. BTW, I don't have complete compile chain like golang and cmake in my mac.

Our makefile utilizes docker to generate code, only a docker env is required

Yes, but my personal mac's docker client is connected to my company's internal docker server due to the limited disk space. And I found the golang dependency is still needed.

image

Whoops...

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