Haven't voted? Don't say you have been to OSC
Nebula Graph 2.0.0-alpha is released~ This version has enriched data types and enhanced nGQL expression capabilities. Version 2.0.0 will gradually be compatible with openCypher.
Nebula
Note: Schema and data are not currently compatible with 1.0 and are under development. . .
New Features
- Point ID supports String type
- New data type
NULL
, The attributes of points and edges can be NULL, support adding NOT NULL constraints for attributes- Composite types: List, Set and Map (defining attribute types is not supported)
- Time type: DATE and DATETIME
- New function
size()
Returns the number of elements in the listtime()
Returns the current time, the current date in the current time zone is returned by defaultdate()
ordatetime()
returns the current Date and DateTimeid()
ID of the return pointtags()
Andlabels()
the tags of the return pointcollect()
, Aggregate function, collect all values into a collection Listcollect_set()
, Aggregate function, collect all values into a set Setproperties()
Returns the attributes of nodes or edges (Map)type()
Return edge typesrc()
Return the starting point ID of the edgedst()
Return the end ID of the edgerank()
Returns the rank value of the edge
- New operator
IN
Often used in conditional expressions, its function is to query data in a certain range- String
STARTS WITH
match:ENDS WITH
, ,CONTAINS
- Explain & Profile for execution plan analysis
- Subgraph,
GET SUBGRAPH
the subgraph of the statement to get the point - Partial support
Match
|
The output can be used asDELETE
the input.
Features different from 1.0
CREATE SPACE
Support the type of configuration point ID, currently supportedfixed_string
(int64
will be supported in the next version)- Simplified the
UPDATE/UPSERT
statement. UPSERT ... SET
The attribute that is not set will be set to the default value of the modified attribute, if there is no default value, it will be set toNULL
. IfNOT NULL
restrictions are set on the properties , an error will be reported.$-
In pipeline operations, it is no longer equivalent to$-.id
.- The expression in the default value is no longer calculated when the schema is defined, but when the data is inserted.
Upcoming Soon (in progress)
DESCRIBE TAG/EDGE INDEX
REBUILD TAG/EDGE INDEX
SHOW TAG/EDGE INDEXES
SHOW TAG/EDGE INDEX STATUS
FETCH PROP ON
Multiple tags- Point ID is compatible with Integer type in 1.0
- Support more OpenCypher statements
- Backup and restore
- Full-text index
Nebula Graph Console
- Support local command mode, for example,
:set csv
command can export query results to CSV. See nebula-console 1 for details
Client
- Java
- Python
- Go
The client supports connection pooling and load balancing, see nebula-clients 1 for details .
Nebula Graph Studio
Not applicable to Nebula Graph 2.0
Documentation
For documentation, please see https://github.com/vesoft-inc/nebula-docs/tree/master/docs_2.0