Nebula Graph v2.0-alpha released, the distributed graph database Nebula Graph

Haven't voted? Don't say you have been to OSC

https://www.oschina.net/project/top_cn_2020

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 list
    • time() Returns the current time, the current date in the current time zone is returned by default
    • date() or  datetime() returns the current Date and DateTime
    • id() ID of the return point
    • tags() And  labels() the tags of the return point
    • collect(), Aggregate function, collect all values ​​into a collection List
    • collect_set(), Aggregate function, collect all values ​​into a set Set
    • properties() Returns the attributes of nodes or edges (Map)
    • type() Return edge type
    • src() Return the starting point ID of the edge
    • dst() Return the end ID of the edge
    • rank() 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 as  DELETE the input.

Features different from 1.0

  • CREATE SPACE Support the type of configuration point ID, currently supported fixed_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 to  NULL . If NOT 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 csvcommand 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

Guess you like

Origin www.oschina.net/news/119650/nebula-graph-2-0-alpha-released