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

MySQL sharding storage #205

Closed
wants to merge 1 commit into from
Closed

MySQL sharding storage #205

wants to merge 1 commit into from

Conversation

laskoviymishka
Copy link
Contributor

Enable sharding by mysql partitions
Closes: #172

Enable sharding by mysql partitions
Closes: #172
@laskoviymishka
Copy link
Contributor Author

:shipit:

Copy link

robot-magpie bot commented Feb 11, 2025

@laskoviymishka has imported your pull request. If you are a member of Transfer team, you can view this diff.

Comment on lines +121 to +125
if IsPartition(table.Filter) {
resultQuery += string(table.Filter)
} else {
resultQuery += " WHERE " + string(table.Filter)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we have many developers and some of them not very familiar with MySQL, I'd rather added comments here, with link to MySQL doc or some of query examples answering question "Why in first if-case is no WHERE keyword?"

Copy link

robot-magpie bot commented Feb 21, 2025

✅ This pull request is being closed because it has been successfully merged into our internal monorepository.
Your changes will be pushed to this repository soon. Thank you for your contribution!

@robot-magpie robot-magpie bot closed this Feb 21, 2025
robot-piglet pushed a commit that referenced this pull request Feb 21, 2025
Enable sharding by mysql partitions
Closes: #172

---

Pull Request resolved: #205

Co-authored-by: tserakhau <tserakhau@double.cloud>
Co-authored-by: tserakhau <tserakhau@double.cloud>
Co-authored-by: tserakhau <tserakhau@double.cloud>
Co-authored-by: tserakhau <tserakhau@double.cloud>
Co-authored-by: tserakhau <tserakhau@double.cloud>
Co-authored-by: tserakhau <tserakhau@double.cloud>
Co-authored-by: tserakhau <tserakhau@double.cloud>
commit_hash:9d122f2ca92d2b24309bbcb15015aacd8f828b25
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.

MySQL/source: sharding support
2 participants