Skip to content

Commit

Permalink
Update docs URL (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
mewim authored Mar 5, 2024
1 parent 8096fbe commit 90349e8
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion src/config/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
{
"name": "Docs",
"url": "https://kuzudb.com/docusaurus"
"url": "//docs.kuzudb.com"
},
{
"name": "Tags",
Expand Down
14 changes: 7 additions & 7 deletions src/content/post/2023-02-13-kuzu-v-0.0.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ values back as new node properties in Kùzu and query them.

## Data Import from and Export to Parquet and Arrow
We have removed our own CSV reader and instead now use [Arrow](https://arrow.apache.org/)
as our default library when bulk importing data through [`COPY FROM` statements](https://kuzudb.com/docusaurus/data-import/csv-import).
as our default library when bulk importing data through [`COPY FROM` statements](//docs.kuzudb.com/data-import/csv-import).
Using Arrow, we can not only bulk import
from CSV files but also from arrow IPC and parquet files. We detect the file type
from the suffix of the file; so if the query says `COPY user FROM ./user.parquet`,
we infer that this is a parquet file and parse it so. See the details [here](https://kuzudb.com/docusaurus/data-import/parquet-import).
we infer that this is a parquet file and parse it so. See the details [here](//docs.kuzudb.com/data-import/parquet-import).

## Multi-labeled or Unlabeled Queries
A very useful feature of the query languages of GDBMSs is their
Expand Down Expand Up @@ -140,18 +140,18 @@ We've added two important features to enhance Kùzu's ability to store and proce

1) Support of UTF-8 characters. With the help of [utf8proc](https://github.com/JuliaStrings/utf8proc), you can now store string node/relationship
properties in Kùzu that has UTF-8 characters;
2) Support of [regex pattern matching](https://kuzudb.com/docusaurus/cypher/expressions/pattern-matching) with strings. Kùzu now supports Cypher's `=~` operator for regex searches, which will return true if its pattern mathces the entire input string. For example: `RETURN 'abc' =~ '.*(b|d).*';`.
2) Support of [regex pattern matching](//docs.kuzudb.com/cypher/expressions/pattern-matching) with strings. Kùzu now supports Cypher's `=~` operator for regex searches, which will return true if its pattern mathces the entire input string. For example: `RETURN 'abc' =~ '.*(b|d).*';`.

### CASE Expression
We've added [CASE](https://kuzudb.com/docusaurus/cypher/expressions/case-expression) for conditional expressions.
Two forms ([Simple Form](https://kuzudb.com/docusaurus/cypher/expressions/case-expression#simple-form) and [General Form](https://kuzudb.com/docusaurus/cypher/expressions/case-expression#general-form)) of CASE expression are supported.
We've added [CASE](//docs.kuzudb.com/cypher/expressions/case-expression) for conditional expressions.
Two forms ([Simple Form](//docs.kuzudb.com/cypher/expressions/case-expression#simple-form) and [General Form](//docs.kuzudb.com/cypher/expressions/case-expression#general-form)) of CASE expression are supported.

### ALTER/DROP/SET/DELETE
We added [ALTER TABLE](https://kuzudb.com/docusaurus/cypher/data-definition/alter) and [DROP TABLE](https://kuzudb.com/docusaurus/cypher/data-definition/drop) DDL statements.
We added [ALTER TABLE](//docs.kuzudb.com/cypher/data-definition/alter) and [DROP TABLE](//docs.kuzudb.com/cypher/data-definition/drop) DDL statements.
After creating a new node or relationship table, you can now drop it, rename it, and alter it by adding new columns/properties,
renaming or dropping existing columns/properties.

Besides schema level changes, you can change properties of existing nodes/rels with [SET](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/set) statements, and remove existing nodes/rels with [DELETE](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/delete) statements.
Besides schema level changes, you can change properties of existing nodes/rels with [SET](//docs.kuzudb.com/cypher/data-manipulation-clauses/set) statements, and remove existing nodes/rels with [DELETE](//docs.kuzudb.com/cypher/data-manipulation-clauses/delete) statements.

### Disable Relationships with Multiple Source or Destination Labels
We now no longer support defining a relationship between multiple source or destination labels.
Expand Down
4 changes: 2 additions & 2 deletions src/content/post/2023-04-06-kuzu-v-0.0.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ which we verified improves our query performance a lot.

We now support several additional data types that were missing.

**[FIXED-LIST](https://kuzudb.com/docusaurus/cypher/data-types/list/) data type:** This is important if you're doing graph ML and storing node features
**[FIXED-LIST](//docs.kuzudb.com/cypher/data-types/list/) data type:** This is important if you're doing graph ML and storing node features
in Kùzu. It is the efficient way to store fixed-length vectors. Here's the summary of how
to declare a node or rel property in your schemas to use the fixed-list data type.

| Data Type | Description | DDL definition |
| --- | --- | --- |
| FIXED-LIST | a list of fixed number of values of the same numerical type | INT64[8] |

When possible use FIXED LIST instead of regular [VAR-LIST](https://kuzudb.com/docusaurus/cypher/data-types/list/) data type
When possible use FIXED LIST instead of regular [VAR-LIST](//docs.kuzudb.com/cypher/data-types/list/) data type
for cases when you know the size of your lists/vectors. It's much more efficient.

Note that FIXED-LIST is an experimental feature. Currently only bulk loading (e.g. `COPY` statement) and reading is supported.
Expand Down
14 changes: 7 additions & 7 deletions src/content/post/2023-07-10-kuzu-v-0.0.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ WHERE a.name = 'Adam'
RETURN p1, p2;
```

Internally, a path is processed as a `STRUCT` with two fields, a nodes field with key `_NODES` and type `LIST[NODE]` and a rels field with key `_RELS` and type `LIST[REL]`. See [`PATH`](https://kuzudb.com/docusaurus/cypher/data-types/path) for details. Users can access nodes and rels field with `nodes(p)` and `rels(p)` function calls as follows:
Internally, a path is processed as a `STRUCT` with two fields, a nodes field with key `_NODES` and type `LIST[NODE]` and a rels field with key `_RELS` and type `LIST[REL]`. See [`PATH`](//docs.kuzudb.com/cypher/data-types/path) for details. Users can access nodes and rels field with `nodes(p)` and `rels(p)` function calls as follows:

```cypher
MATCH p = (a:User)-[:Follows*1..2]->(:User)
Expand Down Expand Up @@ -67,7 +67,7 @@ WHERE a.name = 'Zhang' AND b.name = 'Waterloo'
RETURN p;
```

See [All Shortest Paths](https://kuzudb.com/docusaurus/cypher/query-clauses/match#all-shortest-path) on our documentation for more information.
See [All Shortest Paths](//docs.kuzudb.com/cypher/query-clauses/match#all-shortest-path) on our documentation for more information.

### `Call` Clause

Expand All @@ -94,7 +94,7 @@ CALL table_info('User') WITH * WHERE name STARTS WITH 'a' RETURN name;
--------
```

More built in procedures can be found [here](https://kuzudb.com/docusaurus/cypher/query-clauses/call).
More built in procedures can be found [here](//docs.kuzudb.com/cypher/query-clauses/call).

## Modifying Database Configurations

Expand All @@ -104,7 +104,7 @@ More built in procedures can be found [here](https://kuzudb.com/docusaurus/cyphe
CALL THREADS=5;
```

More configuration options can be found [here](https://kuzudb.com/docusaurus/cypher/configuration).
More configuration options can be found [here](//docs.kuzudb.com/cypher/configuration).

## Data Types

Expand All @@ -121,10 +121,10 @@ RETURN BLOB('\\xBC\\xBD\\xBA\\xAA') as result;
---------------------------------------------
```

More information on the blob data type can be found [here](https://kuzudb.com/docusaurus/cypher/data-types/blob).
More information on the blob data type can be found [here](//docs.kuzudb.com/cypher/data-types/blob).

## Client APIs: Rust and Java
In this release, we're expanding the accessibility of Kùzu, bridging the gap with some of the most popular programming languages in the developer community. Specifically, we now have [Rust](https://kuzudb.com/docusaurus/client-apis/rust) and [Java](https://kuzudb.com/docusaurus/client-apis/java) APIs.
In this release, we're expanding the accessibility of Kùzu, bridging the gap with some of the most popular programming languages in the developer community. Specifically, we now have [Rust](//docs.kuzudb.com/client-apis/rust) and [Java](//docs.kuzudb.com/client-apis/java) APIs.

## Development: Testing Framework

Expand All @@ -136,5 +136,5 @@ Whenever possible, we route all tests in the end-to-end way through Cypher state
To this end, we've designed a custom testing framework that enables thorough end-to-end testing via Cypher statements.

Our testing framework draws inspiration from [SQLLogicTest](https://www.sqlite.org/sqllogictest/doc/trunk/about.wiki), albeit with customized syntax tailored to our needs.
For a more detailed overview of our testing framework, please visit [here](https://kuzudb.com/docusaurus/development/testing-framework).
For a more detailed overview of our testing framework, please visit [here](//docs.kuzudb.com/development/testing-framework).

24 changes: 12 additions & 12 deletions src/content/post/2023-08-16-kuzu-v-0.0.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags: ["udf", "macro", "data-type", "performance", "node-group"]

We are very happy to release Kùzu 0.0.7 today! This release comes with the following new main features and improvements:
To install the new version, please visit the [download section of our website](https://kuzudb.com/#download)
and [getting started guide](https://kuzudb.com/docusaurus/getting-started/). The full
and [getting started guide](//docs.kuzudb.com/getting-started/). The full
[release notes are here](https://github.com/kuzudb/kuzu/releases).

## Macro and UDF
Expand All @@ -29,10 +29,10 @@ RETURN addWithDefault(2); // returns 5 (2 + 3)
RETURN addWithDefault(4, 7); // returns 11 (4 + 7)
```

See more details on supported macro expression types [here](https://kuzudb.com/docusaurus/cypher/macro/).
See more details on supported macro expression types [here](//docs.kuzudb.com/cypher/macro/).

### C++ UDFs
We are also introducing two C++ interfaces, `createScalarFunction` and `createVectorizedFunction` in the `Connection` class of the [C++ API](https://kuzudb.com/docusaurus/getting-started/cpp) to define both scalar and vectorized [UDFs](https://kuzudb.com/docusaurus/client-apis/cpp-api/udf/).
We are also introducing two C++ interfaces, `createScalarFunction` and `createVectorizedFunction` in the `Connection` class of the [C++ API](//docs.kuzudb.com/getting-started/cpp) to define both scalar and vectorized [UDFs](//docs.kuzudb.com/client-apis/cpp-api/udf/).

`createScalarFunction` provides a way for users to define scalar functions in C++ and use it in Kùzu as if they're built-in functions.
Here is an example of a unary scalar function that increments the input value by 5:
Expand All @@ -48,7 +48,7 @@ conn->query("MATCH (p:person) return addFiveScalar(to_int32(p.age))");
```
For users familiar with internals of our intermediate result representation, they can make use of `createVectorizedFunction` to create vectorized function over our ValueVectors to achieve better performance.
See [our doc here](https://kuzudb.com/docusaurus/client-apis/cpp-api/udf) for more details.
See [our doc here](//docs.kuzudb.com/client-apis/cpp-api/udf) for more details.
## Data Update and Return Clauses
### Merge Clause
Expand Down Expand Up @@ -80,7 +80,7 @@ RETURN e;
---------------------------------------------------------
```

See [our doc here](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/merge) for more details.
See [our doc here](//docs.kuzudb.com/cypher/data-manipulation-clauses/merge) for more details.

### Multi-label Set/Delete

Expand All @@ -99,7 +99,7 @@ MATCH ()-[f]->() SET f.since = 2023

Note that when evaluating this query, tuples in tables that don't have `since` property will be ignored.

See our docs in [Set](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/set) and [Delete](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/delete) for more details.
See our docs in [Set](//docs.kuzudb.com/cypher/data-manipulation-clauses/set) and [Delete](//docs.kuzudb.com/cypher/data-manipulation-clauses/delete) for more details.

### Return After Update

Expand Down Expand Up @@ -128,8 +128,8 @@ RETURN e;
---------------------------------------------------------
```

See our docs in [Set](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/set) and
[Delete](https://kuzudb.com/docusaurus/cypher/data-manipulation-clauses/delete) for more examples.
See our docs in [Set](//docs.kuzudb.com/cypher/data-manipulation-clauses/set) and
[Delete](//docs.kuzudb.com/cypher/data-manipulation-clauses/delete) for more examples.

### Return with `.*`

Expand All @@ -150,7 +150,7 @@ MATCH (a:User) RETURN a.*;
-------------------
```

See [our doc here](https://kuzudb.com/docusaurus/cypher/query-clauses/return#returning-node-and-relationship-properties) for more details.
See [our doc here](//docs.kuzudb.com/cypher/query-clauses/return#returning-node-and-relationship-properties) for more details.

## Data Export
Kùzu now supports exporting query results to CSV files using the `COPY TO` command. For example the following
Expand All @@ -168,7 +168,7 @@ u.name,u.age
"Zhang",50
"Noura",25
```
See [Data Export](https://kuzudb.com/docusaurus/data-export/) for more information.
See [Data Export](//docs.kuzudb.com/data-export/) for more information.

## New Data Types and APIs
### MAP
Expand All @@ -183,12 +183,12 @@ RETURN map([1, 2], ['a', 'b']) AS m;
--------------
```

See [map](https://kuzudb.com/docusaurus/cypher/data-types/map) for more information.
See [map](//docs.kuzudb.com/cypher/data-types/map) for more information.

### UNION
Kùzu's `UNION` is implemented by taking DuckDB's `UNION` type as a reference. Similar to C++ `std::variant`, `UNION` is a nested data type that is capable of holding multiple alternative values with different types. The value under key "tag" is considered as the value being currently hold by the `UNION`.

See [union](https://kuzudb.com/docusaurus/cypher/data-types/union) for more information.
See [union](//docs.kuzudb.com/cypher/data-types/union) for more information.

### Converting Query Results to Arrow
In previous releases, we supported converting query result to Arrow tables in our [Python API](https://kuzudb.com/api-docs/python/kuzu/query_result.html#QueryResult.get_as_arrow).
Expand Down
14 changes: 7 additions & 7 deletions src/content/post/2023-10-02-kuzu-v-0.0.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ LOAD FROM "user.csv"
CREATE (:Person {name: column0, age: to_int64(column1)});
```

Details can be found in the [LOAD FROM documentation page](https://kuzudb.com/docusaurus/cypher/load_from).
Details can be found in the [LOAD FROM documentation page](//docs.kuzudb.com/cypher/load_from).

#### Header Schema

Expand All @@ -43,7 +43,7 @@ WHERE name =~ 'Adam*'
RETURN name, age;
```

If a header is manually specified, Kùzu will try to cast to the given type and throw exceptions if casting fails. More information can be found [here](https://kuzudb.com/docusaurus/cypher/load_from).
If a header is manually specified, Kùzu will try to cast to the given type and throw exceptions if casting fails. More information can be found [here](//docs.kuzudb.com/cypher/load_from).

### Transaction Statement
This release replaces the `beginReadTransaction()`, `beginWriteTransaction()`, `commit()` and `rollback()` APIs in all language bindings with explicit statements.
Expand All @@ -55,7 +55,7 @@ MATCH (a:User) RETURN *;
COMMIT;
```

The above sequence of statements starts a write transaction, adds a new node, and within the same transaction also reads all of the tuples in User table before committing the transaction. More info on the new transaction statement can be found [here](https://kuzudb.com/docusaurus/cypher/transaction).
The above sequence of statements starts a write transaction, adds a new node, and within the same transaction also reads all of the tuples in User table before committing the transaction. More info on the new transaction statement can be found [here](//docs.kuzudb.com/cypher/transaction).

### Comment on Table
You can now add comments to a table using the `COMMENT ON TABLE` statement. The following query adds a comment to the `User` table.
Expand Down Expand Up @@ -96,7 +96,7 @@ RETURN nodes(e), rels(e);

The query above finds all paths between two users which are between 1 and 2 hops, and where the users followed each other after 2020. The query returns the `since` property of any `Follow` relationships and the name of any intermediate users.

For more information, check out [the new documentation](https://kuzudb.com/docusaurus/cypher/query-clauses/match#project-intermediate-nodes-and-rels).
For more information, check out [the new documentation](//docs.kuzudb.com/cypher/query-clauses/match#project-intermediate-nodes-and-rels).

The performance improvements are shown in the [Performance Improvements](#performance-improvements) section.

Expand Down Expand Up @@ -125,7 +125,7 @@ MATCH (a:User)-[:Knows_User_User|:Knows_User_city]->(b) RETURN *;
**Note**
- For `COPY FROM` and `CREATE`, we currently don't support using a relationship group so you need to explicitly specify a single relationship table.

See [Create Table](https://kuzudb.com/docusaurus/cypher/data-definition/create-table) for more information.
See [Create Table](//docs.kuzudb.com/cypher/data-definition/create-table) for more information.

### Data Types & Functions
We introduced a few more numerical data types:
Expand All @@ -135,7 +135,7 @@ We introduced a few more numerical data types:
- UINT16: 2 byte unsigned integer
- UINT8: 1 byte unsigned integer

We have also added several casting and list functions. See [functions](https://kuzudb.com/docusaurus/cypher/expressions/) for more information.
We have also added several casting and list functions. See [functions](//docs.kuzudb.com/cypher/expressions/) for more information.

## Performance Improvements

Expand All @@ -144,7 +144,7 @@ In this release, we have started replacing arrow's CSV and Parquet reader with o

Following DuckDB's implementation, we've replaced arrow's streaming CSV reader with a parallel one. The parallel CSV reader assumes there are no multi-line strings and provides a large performance boost on multi-threaded machines.

If multi-line strings are present, the CSV reading will fail, and you will need to fall back to single thread mode by setting `parallel=false`. See [Data Import from CSV Files](https://kuzudb.com/docusaurus/data-import/csv-import).
If multi-line strings are present, the CSV reading will fail, and you will need to fall back to single thread mode by setting `parallel=false`. See [Data Import from CSV Files](//docs.kuzudb.com/data-import/csv-import).

We demonstrate the performance of our parallel csv reader through the new [LOAD FROM](#load-from) feature as follows.

Expand Down
Loading

0 comments on commit 90349e8

Please sign in to comment.