-
Notifications
You must be signed in to change notification settings - Fork 29
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
Write a converter to generate DistSQL from specific struct type #270
Labels
Milestone
Comments
mlycore
added
gsoc-2023
GSoC 2023
type: enhancement
New feature or request
operator
solutions of operator
labels
Mar 20, 2023
mlycore
changed the title
🚀 request help: Write a converter to generate DistSQL from specific struct type
[GSoC 2023] Write a converter to generate DistSQL from specific struct type
Mar 21, 2023
This was referenced Apr 7, 2023
7 tasks
7 tasks
mlycore
changed the title
[GSoC 2023] Write a converter to generate DistSQL from specific struct type
Write a converter to generate DistSQL from specific struct type
May 18, 2023
This was referenced May 31, 2023
please assign to me |
Thanks @wbtlb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apache ShardingSphere
Apache ShardingSphere is positioned as a Database Plus, and aims at building a standard layer and ecosystem above heterogeneous databases. It focuses on how to reuse existing databases and their respective upper layer, rather than creating a new database. The goal is to minimize or eliminate the challenges caused by underlying databases fragmentation.
Page: https://shardingsphere.apache.org/
Github: https://github.com/apache/shardingsphere
Background
Currently we try to promote StorageNode as major CRD to represent a set of storage units for ShardingSphere.
Task
The elementary task is that the storage node controller could manage the lifecycle of a set of storage units, like PostgreSQL, in kubernetes.
We don't hope to create another wheel like pg-operator. So consider using a predefined parameter group to generate the target CRD.
EncryptionRule
ShardingRule
ReadWriteSplittingRule
MaskRule
ShadowRule
Relevant Skills
Targets files
DistSQL Converter - https://github.com/apache/shardingsphere-on-cloud/blob/main/shardingsphere-operator/pkg/distsql/converter.go, etc.
Example
A struct defined as below:
While invoking ToDistSQL() it will generate a DistSQL regarding a EncryptRule like:
References:
The text was updated successfully, but these errors were encountered: