Skip to content

Commit d61c323

Browse files
AUTO: Sync ScalarDB docs in English to docs site repo (#1817)
Co-authored-by: josh-wong <joshua.wong@scalar-labs.com>
1 parent 05de022 commit d61c323

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

docs/schema-loader.mdx

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -532,19 +532,19 @@ Auto-scaling for Cosmos DB for NoSQL is enabled only when this option is set to
532532

533533
The following table shows the supported data types in ScalarDB and their mapping to the data types of other databases.
534534

535-
| ScalarDB | Cassandra | Cosmos DB for NoSQL | Db2 | DynamoDB | MySQL/MariaDB/TiDB | PostgreSQL/YugabyteDB/AlloyDB | Oracle | SQL Server | SQLite |
536-
|-------------|----------------------|---------------------|----------------|----------|--------------------|-------------------------------|--------------------------|-----------------|---------|
537-
| BOOLEAN | boolean | boolean (JSON) | BOOLEAN | BOOL | boolean | boolean | number(1) | bit | boolean |
538-
| INT | int | number (JSON) | INT | N | int | int | number(10) | int | int |
539-
| BIGINT | bigint | number (JSON) | BIGINT | N | bigint | bigint | number(16) | bigint | bigint |
540-
| FLOAT | float | number (JSON) | REAL | N | real | real | binary_float | float(24) | float |
541-
| DOUBLE | double | number (JSON) | DOUBLE | N | double | double precision | binary_double | float | double |
542-
| TEXT | text | string (JSON) | VARCHAR(32672) | S | longtext | text | varchar2(4000) | varchar(8000) | text |
543-
| BLOB | blob | string (JSON) | BLOB(2G) | B | longblob | bytea | BLOB | varbinary(8000) | blob |
544-
| DATE | date | number (JSON) | DATE | N | date | date | date | date | int |
545-
| TIME | time | number (JSON) | TIMESTAMP | N | time | time | timestamp | time | bigint |
546-
| TIMESTAMP | <em>Unsupported</em> | number (JSON) | TIMESTAMP | N | datetime | timestamp | timestamp | datetime2 | bigint |
547-
| TIMESTAMPTZ | timestamp | number (JSON) | TIMESTAMP | N | datetime | timestamp with time zone | timestamp with time zone | datetimeoffset | bigint |
535+
| ScalarDB | Cassandra | Cosmos DB for NoSQL | Db2 | DynamoDB | MySQL/MariaDB/TiDB | PostgreSQL/YugabyteDB/AlloyDB | Oracle | SQL Server | SQLite | Object Storage |
536+
|-------------|----------------------|---------------------|----------------|----------|--------------------|-------------------------------|--------------------------|-----------------|---------|----------------|
537+
| BOOLEAN | boolean | boolean (JSON) | BOOLEAN | BOOL | boolean | boolean | number(1) | bit | boolean | boolean (JSON) |
538+
| INT | int | number (JSON) | INT | N | int | int | number(10) | int | int | number (JSON) |
539+
| BIGINT | bigint | number (JSON) | BIGINT | N | bigint | bigint | number(16) | bigint | bigint | number (JSON) |
540+
| FLOAT | float | number (JSON) | REAL | N | real | real | binary_float | float(24) | float | number (JSON) |
541+
| DOUBLE | double | number (JSON) | DOUBLE | N | double | double precision | binary_double | float | double | number (JSON) |
542+
| TEXT | text | string (JSON) | VARCHAR(32672) | S | longtext | text | varchar2(4000) | varchar(8000) | text | string (JSON) |
543+
| BLOB | blob | string (JSON) | BLOB(2G) | B | longblob | bytea | BLOB | varbinary(8000) | blob | string (JSON) |
544+
| DATE | date | number (JSON) | DATE | N | date | date | date | date | int | number (JSON) |
545+
| TIME | time | number (JSON) | TIMESTAMP | N | time | time | timestamp | time | bigint | number (JSON) |
546+
| TIMESTAMP | <em>Unsupported</em> | number (JSON) | TIMESTAMP | N | datetime | timestamp | timestamp | datetime2 | bigint | number (JSON) |
547+
| TIMESTAMPTZ | timestamp | number (JSON) | TIMESTAMP | N | datetime | timestamp with time zone | timestamp with time zone | datetimeoffset | bigint | number (JSON) |
548548

549549
:::note
550550

@@ -579,6 +579,8 @@ Oracle BLOB type cannot be used as a partition key, clustering key, secondary in
579579

580580
YugabyteDB has limitations that prevent floating point types (FLOAT and DOUBLE) from functioning correctly as a primary key, clustering keys, or secondary index keys.
581581

582+
With Object Storage, BLOB-type data larger than 1.5 GiB cannot be stored.
583+
582584
## Internal transaction metadata for Consensus Commit
583585

584586
The Consensus Commit transaction manager manages transaction metadata (for example, transaction ID, record version, and transaction status) stored along with the actual records to handle transactions properly.

0 commit comments

Comments
 (0)