V3.0 Removal of Previously Deprecated Features
TigerGraph 2.x contained some features which were labeled as deprecated. These features are no longer necessary because they have been superseded already by improved approaches for using the TigerGraph platform.
The new approaches were developed because they use more consistent grammar, are more extensible, or offer higher performance. Therefore, TigerGraph 3.0 and above has streamlined the product by removing support for some of these deprecated features, listed below:
Data Types
| Deprecated type | Alternate approach |
|---|---|
|
Use |
|
Use |
|
Use |
|
Use |
|
Use |
|
Use |
|
Use |
|
Use |
|
Use |
|
Use |
Syntax for Control Flow Statements
| Deprecated statement | Alternate statement |
|---|---|
|
|
FOREACH (condition) {
body
}
|
FOREACH condition DO
body
END
|
IF (condition) {
body1
}
else {
body2
}
|
IF condition THEN
body1
ELSE
body2
END
|
WHILE (condition) {
body
}
|
WHILE condition DO
body
END
|
Vertex set variable declaration
If a vertex type is specified, the vertex type must be within parentheses.
| Deprecated Statement | Alternate Statement |
|---|---|
|
|
Query, Job, and Token Management
| Deprecated operation | Header 2 |
|---|---|
|
Job types need to be specified:
|
|
Job types need to be specified:
|
|
To create a token, use the REST endpoint GET /requesttoken. |
|
The offline loading job mode was discontinued in v2.0. Do not write loading jobs using this syntax. |
Output
See PRINT Statement
| Deprecated Syntax | Alternate Syntax |
|---|---|
JSON API v1 |
v2 has been the default JSON format since TigerGraph 1.1. No alternate JSON version will be available. |
|
Define a file object, then |