Replies: 5 comments 8 replies
-
This looks very interesting! I believe nebula community will like this job very much. However, there are one question about the definition of edge. I see that it defines the type of src/dst, which is consistent with the upcoming GQL standard, but there is no such constraint in nebula. |
Beta Was this translation helpful? Give feedback.
-
This is great!
haha, I just wrote a rough example for understanding, if we have an agreement on starting this project, we can start to define the standard more carefully.
|
Beta Was this translation helpful? Give feedback.
-
like this very much
|
Beta Was this translation helpful? Give feedback.
-
Dear @haoxins Thanks! This is a NEXT LEVEL missing piece for NebulaGraph.(We had been thinking of things like integration with bytebase, etc) and Atlas looks awesome to me! On top of the abstraction of schema/ddl as code, the integration on client/operators pushes it to a level I didn't even think of. I think your starting work on this will bring the NebulaGraph community to a whole new level. I think the schema-aC is version-wised, so we could start with the one that edges' src/dst vertex without type constraints, but in next major version, where we honor ISO GQL, will do(but the schema will be different in other perspectives, too). While, indeed, for now when you are defining the Schema-aC DSL, considerations based on ISO GQL may make future adaptation easier(that's why you're mentioning its PDF version right?) @HarrisChu @yixinglu @xtcyclist what do you think? BTW could you help share @haoxins a readable version of ISO GQL standard? |
Beta Was this translation helpful? Give feedback.
-
Add a reference for the feedback from the author of Atlas. |
Beta Was this translation helpful? Give feedback.
-
I want to share a proposal for a language-independent tool for managing and migrating schemas.
The ideas for this come from the awesome project Atlas.
There will be 3 key features for the end users.
Schema as code
For example, we can define the schemas as below:
With this schema file, we can apply this to the database by the commands below:
Integrates with the Nebula client
If we choose Golang to implement the application, we can also provide special providers for different languages.
Such as https://github.com/ariga/atlas-provider-hibernate
Integrates with the Nebula operator
Since we already have the K8s operator for Nebula, https://github.com/vesoft-inc/nebula-operator.
We can integrate schema management into the operator.
See https://atlasgo.io/integrations/kubernetes/operator
Beta Was this translation helpful? Give feedback.
All reactions