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

Merge 3.3 to master #1812

Merged
merged 89 commits into from
Dec 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
aa5f136
Merge to v3.3.0
foesa-yang Nov 2, 2022
712dc43
Update deploy.yml
foesa-yang Nov 2, 2022
54e9f0a
Update deploy.yml
foesa-yang Nov 2, 2022
0721cec
Update 0.FAQ.md (#1738)
abby-cyber Nov 2, 2022
f7d61e8
Update deploy.yml
foesa-yang Nov 2, 2022
85a12fc
Update deploy.yml
foesa-yang Nov 2, 2022
1223781
Update deploy.yml
cooper-lzy Nov 3, 2022
f578234
Fix favicon
randomJoe211 Nov 3, 2022
72d1467
fix: missing file causing doc search issue (#1740)
nianiaJR Nov 3, 2022
8734534
Update 2.deploy-dashboard.md
cooper-lzy Nov 3, 2022
4fc659c
Update 4.use-dashboard.md
cooper-lzy Nov 3, 2022
e18ad89
Update ex-ug-deploy.md
cooper-lzy Nov 3, 2022
7ff5579
Update nebula-analytics.md
cooper-lzy Nov 3, 2022
01797e3
Update ex-ug-connect.md
cooper-lzy Nov 3, 2022
d8919d6
Update nebula-analytics.md
cooper-lzy Nov 3, 2022
1e00579
Update nebula-algorithm.md
cooper-lzy Nov 4, 2022
bee37fe
Update nebula-algorithm.md
cooper-lzy Nov 4, 2022
138fe77
Update ex-ug-what-is-explorer.md
cooper-lzy Nov 4, 2022
44c3ee6
Update ex-ug-what-is-exchange.md
cooper-lzy Nov 4, 2022
a5b8c1a
Update explorer-release-note.md
cooper-lzy Nov 4, 2022
cbd92e9
Update 2.deploy-connect-dashboard-ent.md
cooper-lzy Nov 4, 2022
5df3083
Update st-ug-limitations.md
cooper-lzy Nov 7, 2022
0b5190c
add-note-for-multiple-data-storage-directories- (#1741)
abby-cyber Nov 8, 2022
7273d91
Update 0.FAQ.md
cooper-lzy Nov 9, 2022
ef9c74c
Update mkdocs.yml (#1747)
abby-cyber Nov 9, 2022
48d69d6
Update 6.eco-tool-version.md (#1748)
abby-cyber Nov 9, 2022
2d84c5a
update dashboard and explorer (#1749)
cooper-lzy Nov 10, 2022
ef8517d
Update ex-ug-what-is-exchange.md (#1750)
cooper-lzy Nov 10, 2022
1fd37bf
Update 1.prepare-resources.md (#1751)
cooper-lzy Nov 10, 2022
785c4f6
add-length()-and-size() (#1752)
abby-cyber Nov 11, 2022
1c5ec04
explorer removes dependence on studio (#1753)
cooper-lzy Nov 14, 2022
1e6e543
update workflow (#1754)
cooper-lzy Nov 14, 2022
44b1cb1
Update ex-ug-deploy.md
cooper-lzy Nov 14, 2022
88765a7
Update ex-ug-deploy.md
cooper-lzy Nov 14, 2022
49dbd38
dashboard update create cluster (#1756)
cooper-lzy Nov 15, 2022
016603a
Update 2.balance-syntax.md (#1758)
foesa-yang Nov 15, 2022
65590f6
Move std() sum() to aggregating functions and add collect examples (#…
abby-cyber Nov 16, 2022
793d2ce
Update error-code.md (#1760)
foesa-yang Nov 17, 2022
00032be
add hdfs error for dag (#1761)
cooper-lzy Nov 17, 2022
6aa992c
update ngql template (#1763)
cooper-lzy Nov 18, 2022
93fc266
Update optional-match.md (#1764)
foesa-yang Nov 18, 2022
3518169
merge helm in studio doc (#1765)
cooper-lzy Nov 21, 2022
2d8dc14
br-release-3.3.0 (#1767)
abby-cyber Nov 21, 2022
da4bfb8
typo fix in insert edge page (#1762)
wey-gu Nov 21, 2022
db0d2ab
remove docker from local deployment (#1768)
cooper-lzy Nov 22, 2022
9fa6364
fix links (#1769)
cooper-lzy Nov 22, 2022
39feb9d
Fix links 2 (#1770)
cooper-lzy Nov 22, 2022
d01ceba
Implicit group by (#1771)
abby-cyber Nov 22, 2022
305763c
update TIMESTAMP (#1772)
cooper-lzy Nov 23, 2022
b7c6b99
add-example-for-getting-vertex/edge-without-specifying-tag/edge-type …
abby-cyber Nov 23, 2022
9eff79a
Update 2.deploy-connect-dashboard-ent.md
cooper-lzy Nov 23, 2022
e3ad86e
Dashboard update 3.2.2 (#1775)
cooper-lzy Nov 24, 2022
15691b9
add-note-for-supporting-arm (#1776)
abby-cyber Nov 24, 2022
70d8d79
why-space-0-not-found (#1777)
abby-cyber Nov 25, 2022
c840e47
why-space-0-not-found (#1778)
abby-cyber Nov 25, 2022
59abcc3
br-opts-330 (#1782)
abby-cyber Nov 25, 2022
65cae04
add-release-notes-on-the-default-page (#1783)
abby-cyber Nov 28, 2022
44f4849
Update 4.schema.md (#1784)
abby-cyber Nov 28, 2022
90b4cb7
Add release notes on the default page (#1787)
abby-cyber Nov 28, 2022
6fddec8
Update README.md
abby-cyber Nov 29, 2022
bc7a89f
Update 3.go.md (#1790)
cooper-lzy Nov 29, 2022
50927b9
about-linux-operating-system (#1789)
abby-cyber Nov 29, 2022
f107e2d
wording-revision-of-schema-related-functions (#1793)
abby-cyber Nov 30, 2022
af965c2
dashboard release 3.2.3 (#1794)
cooper-lzy Dec 1, 2022
1a39f50
Update ex-ug-deploy.md
cooper-lzy Dec 1, 2022
252c7c9
timestamp()-supports-int (#1795)
abby-cyber Dec 1, 2022
d938da3
Update 1.resource-preparations.md (#1797)
cooper-lzy Dec 2, 2022
74cf0a9
Update 5.lookup.md (#1798)
foesa-yang Dec 2, 2022
04d8714
Update 10.create-schema.md
cooper-lzy Dec 2, 2022
c7761bb
Update config-without-header.md
cooper-lzy Dec 5, 2022
4e894ab
exchange update faq (#1800)
cooper-lzy Dec 6, 2022
4fd79fb
Update 2.compile-br.md (#1801)
abby-cyber Dec 6, 2022
737526d
dashboard release 3.2.4 (#1802)
cooper-lzy Dec 7, 2022
dc0b468
explorer release 3.2.1 (#1803)
cooper-lzy Dec 7, 2022
a14d2ef
Let it snow (#1805)
randomJoe211 Dec 7, 2022
0e0034a
Revert "Let it snow (#1805)" (#1806)
randomJoe211 Dec 8, 2022
b977388
Update nebula-analytics.md
cooper-lzy Dec 9, 2022
fcadeea
Update 1.get-subgraph.md (#1807)
foesa-yang Dec 9, 2022
4029f4c
Update 4.schema.md (#1809)
abby-cyber Dec 12, 2022
7131153
Update 3.connect-dashboard.md
cooper-lzy Dec 14, 2022
5575d79
Update 3.go.md (#1808)
abby-cyber Dec 14, 2022
65a9ffd
update ga code for 3.3.0 (#1774)
wey-gu Dec 14, 2022
35757fd
Update 0.FAQ.md
foesa-yang Dec 14, 2022
87e80a8
Unified dashboard directory structure (#1810)
cooper-lzy Dec 15, 2022
4ada859
Update 2.match.md (#1811)
foesa-yang Dec 15, 2022
d5e7406
update
foesa-yang Dec 15, 2022
20ebb4e
Update extra.css
foesa-yang Dec 15, 2022
9da42d9
Update use-importer.md
foesa-yang Dec 15, 2022
550ef5e
Update mkdocs.yml
foesa-yang Dec 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs-2.0/2.quick-start/4.nebula-graph-crud.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ In this topic, we will use the following dataset to demonstrate basic CRUD opera
nebula> CREATE SPACE basketballplayer(partition_num=15, replica_factor=1, vid_type=fixed_string(30));
```

!!! note

If the system returns the error `[ERROR (-1005)]: Host not enough!`, check whether [registered the Storage Service](../2.quick-start/3.1add-storage-hosts.md).

2. Check the partition distribution with `SHOW HOSTS` to make sure that the partitions are distributed in a balanced way.

```ngql
Expand Down
14 changes: 7 additions & 7 deletions docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
| bit_and() | Bitwise AND. |
| bit_or() | Bitwise OR. |
| bit_xor() | Bitwise XOR. |
| int size() | Returns the number of elements in a list or a map. |
| int size() | Returns the number of elements in a list or a map or the length of a string. |
| int range(int start, int end, int step) | Returns a list of integers from `[start,end]` in the specified steps. `step` is 1 by default. |
| int sign(double x) | Returns the signum of the given number.<br/>If the number is `0`, the system returns `0`.<br/>If the number is negative, the system returns `-1`.<br/>If the number is positive, the system returns `1`. |
| double e() | Returns the base of the natural logarithm, e (2.718281828459045). |
Expand Down Expand Up @@ -60,7 +60,7 @@
|string toLower(string a) | The same as `lower()`. |
|string upper(string a) | Returns the argument in uppercase. |
|string toUpper(string a) | The same as `upper()`. |
|int length(string a) | Returns the length of the given string in bytes. |
|int length(a) | Returns the length of the given string in bytes or the length of a path in hops. |
|string trim(string a) | Removes leading and trailing spaces. |
|string ltrim(string a) | Removes leading spaces. |
|string rtrim(string a) | Removes trailing spaces. |
Expand All @@ -82,13 +82,13 @@

|Function| Description |
|---- | ----|
|int now() | Returns the current date and time of the system timezone. |
|timestamp timestamp() | Returns the current date and time of the system timezone. |
|int now() | Returns the current timestamp of the system. |
|timestamp timestamp() | Returns the current timestamp of the system. |
|date date() | Returns the current UTC date based on the current system. |
|time time() | Returns the current UTC time based on the current system. |
|datetime datetime() | Returns the current UTC date and time based on the current system. |

* [Schema functions](../3.ngql-guide/6.functions-and-expressions/4.schema.md)
* [Schema-related functions](../3.ngql-guide/6.functions-and-expressions/4.schema.md)

* For nGQL statements

Expand Down Expand Up @@ -185,14 +185,14 @@
| Match vertices | `(v)` | You can use a user-defined variable in a pair of parentheses to represent a vertex in a pattern. For example: `(v)`. |
| Match tags | `MATCH (v:player) RETURN v` | You can specify a tag with `:<tag_name>` after the vertex in a pattern. |
| Match multiple tags | `MATCH (v:player:team) RETURN v LIMIT 10` | To match vertices with multiple tags, use colons (:). |
| Match vertex properties | `MATCH (v:player{name:"Tim Duncan"}) RETURN v` | You can specify a vertex property with `{<prop_name>: <prop_value>}` after the tag in a pattern. |
| Match vertex properties | `MATCH (v:player{name:"Tim Duncan"}) RETURN v` <br><br>`MATCH (v) WITH v, properties(v) as props, keys(properties(v)) as kk LIMIT 10000 WHERE [i in kk where props[i] == "Tim Duncan"] RETURN v` | You can specify a vertex property with `{<prop_name>: <prop_value>}` after the tag in a pattern; or use a vertex property value to get vertices directly. |
| Match a VID. | `MATCH (v) WHERE id(v) == 'player101' RETURN v` | You can use the VID to match a vertex. The `id()` function can retrieve the VID of a vertex. |
| Match multiple VIDs. | `MATCH (v:player { name: 'Tim Duncan' })--(v2) WHERE id(v2) IN ["player101", "player102"] RETURN v2` | To match multiple VIDs, use `WHERE id(v) IN [vid_list]`. |
| Match connected vertices | `MATCH (v:player{name:"Tim Duncan"})--(v2) RETURN v2.player.name AS Name` | You can use the `--` symbol to represent edges of both directions and match vertices connected by these edges. You can add a `>` or `<` to the `--` symbol to specify the direction of an edge. |
| Match paths | `MATCH p=(v:player{name:"Tim Duncan"})-->(v2) RETURN p` | Connected vertices and edges form a path. You can use a user-defined variable to name a path as follows. |
| Match edges | `MATCH (v:player{name:"Tim Duncan"})-[e]-(v2) RETURN e`<br>`MATCH ()<-[e]-() RETURN e LIMIT 3` | Besides using `--`, `-->`, or `<--` to indicate a nameless edge, you can use a user-defined variable in a pair of square brackets to represent a named edge. For example: `-[e]-`. |
| Match an edge type | `MATCH ()-[e:follow]-() RETURN e LIMIT 5` |Just like vertices, you can specify an edge type with `:<edge_type>` in a pattern. For example: `-[e:follow]-`. |
| Match edge type properties | ` MATCH (v:player{name:"Tim Duncan"})-[e:follow{degree:95}]->(v2) RETURN e` | You can specify edge type properties with `{<prop_name>: <prop_value>}` in a pattern. For example: `[e:follow{likeness:95}]`. |
| Match edge type properties | ` MATCH (v:player{name:"Tim Duncan"})-[e:follow{degree:95}]->(v2) RETURN e` <br><br>`MATCH ()-[e]->() WITH e, properties(e) as props, keys(properties(e)) as kk LIMIT 10000 WHERE [i in kk where props[i] == 90] RETURN e`| You can specify edge type properties with `{<prop_name>: <prop_value>}` in a pattern. For example: `[e:follow{likeness:95}]`; or use an edge type property value to get edges directly. |
| Match multiple edge types | `MATCH (v:player{name:"Tim Duncan"})-[e:follow | :serve]->(v2) RETURN e` | The `|` symbol can help matching multiple edge types. For example: `[e:follow|:serve]`. The English colon (:) before the first edge type cannot be omitted, but the English colon before the subsequent edge type can be omitted, such as `[e:follow|serve]`. |
| Match multiple edges | `MATCH (v:player{name:"Tim Duncan"})-[]->(v2)<-[e:serve]-(v3) RETURN v2, v3` | You can extend a pattern to match multiple edges in a path. |
| Match fixed-length paths | `MATCH p=(v:player{name:"Tim Duncan"})-[e:follow*2]->(v2) RETURN DISTINCT v2 AS Friends` | You can use the `:<edge_type>*<hop>` pattern to match a fixed-length path. `hop` must be a non-negative integer. The data type of `e` is the list.|
Expand Down
10 changes: 5 additions & 5 deletions docs-2.0/20.appendix/0.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The reason for this error may be that the amount of data to be queried is too la

- When importing data, set [Compaction](../8.service-tuning/compaction.md) manually to make read faster.

- Extend the RPC connection timeout of the Graph service and the Storage service. Modify the value of `--storage_client_timeout_ms` in the `nebula-storaged.conf` file. This configuration is measured in milliseconds (ms). The default value is 60000ms.
- Extend the RPC connection timeout of the Graph service and the Storage service. Modify the value of `--storage_client_timeout_ms` in the `nebula-graphd.conf` file. This configuration is measured in milliseconds (ms). The default value is 60000ms.
<!--Tip: Add `--local_config=true` at the beginning of the configuration file and restart the service.-->

### "How to resolve the error `MetaClient.cpp:65] Heartbeat failed, status:Wrong cluster!` in `nebula-storaged.INFO`, or `HBProcessor.cpp:54] Reject wrong cluster host "x.x.x.x":9771!` in `nebula-metad.INFO`?"
Expand Down Expand Up @@ -293,7 +293,7 @@ Or get vertices by each tag, and then group them by yourself.

Yes, for more information, see [Keywords and reserved words](../3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md).

### "How to get the out-degree/the in-degree of a vertex with a given name?"
### "How to get the out-degree/the in-degree of a given vertex?"

The out-degree of a vertex refers to the number of edges starting from that vertex, while the in-degree refers to the number of edges pointing to that vertex.

Expand Down Expand Up @@ -388,9 +388,9 @@ If you have not modified the predefined ports in the [Configurations](../5.confi

| Service | Port |
|---------|---------------------------|
| Meta | 9559, 9560, 19559, 19560 |
| Graph | 9669, 19669, 19670 |
| Storage | 9777 ~ 9780, 19779, 19780 |
| Meta | 9559, 9560, 19559 |
| Graph | 9669, 19669 |
| Storage | 9777 ~ 9780, 19779|

If you have customized the configuration files and changed the predefined ports, find the port numbers in your configuration files and open them on the firewalls.

Expand Down
12 changes: 12 additions & 0 deletions docs-2.0/20.appendix/6.eco-tool-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,18 @@ Docker Compose can quickly deploy NebulaGraph clusters. For how to use it, pleas
|:---|:---|
| {{ nebula.tag }} | {{br.tag}}|


{{ent.ent_begin}}
## Backup & Restore Enterprise Edition

Backup Restore (BR for short) Enterprise Edition is a Command-Line Interface (CLI) tool. With BR Enterprise Edition, you can back up and restore NebulaGraph Enterprise Edition data.

|NebulaGraph version|BR version|
|:---|:---|
| {{ nebula.tag }} | {{br_ent.tag}}|

{{ent.ent_end}}

## NebulaGraph Bench

[NebulaGraph Bench](https://github.com/vesoft-inc/nebula-bench/releases/tag/{{bench.tag}}) is used to test the baseline performance data of NebulaGraph. It uses the standard data set of LDBC.
Expand Down
Loading