Skip to content
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

feature: support route insert sql to shadow table #278

Merged
merged 2 commits into from
Dec 10, 2022

Conversation

dk-lockdown
Copy link
Collaborator

ref: #258

Ⅰ. Describe what this PR did

  • Add shadow table rule
    If we add /*+ Shadow() */ hint to insert sql, will route this sql to shadow table;
    We also defined shadow expr, when the expr matched, the insert sql will route to shadow table.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

check integration test result
image
image

Ⅴ. Special notes for reviews

Copy link
Collaborator

@bohehe bohehe left a comment

Choose a reason for hiding this comment

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

看晕了, anyways LGTM 🤣

@dk-lockdown
Copy link
Collaborator Author

看晕了, anyways LGTM 🤣

空了聊下这个功能

@dk-lockdown dk-lockdown merged commit 5a461ec into CECTC:dev Dec 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants