Skip to content

01-Data Types

Column and tag boundary
1. Create stable with max column and tag length
2. Insert data with max column and tag length
3. Verify data correctness with query
4. Create column/tag with binary
5. Create column/tag with varchar
6. Create column/tag with nchar
7. Create column/tag with varbinary
8. Create tag with json
9. Insert data with chinese sring on nchar

DataTypes: bigint
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: blob
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input
6. Check auto create table with blob cols

DataTypes: bool
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: decimal
1. Check decimal ddl
2. No decimal table test
3. Insert decimal values
4. Query decimal values
5. Verify JIRA TS-6333

DataTypes: decimal64
1. check decimal64 ddl
2. insert decimal64 values
3. query decimal64 values on where condition

DataTypes: decimal last
1. Check decimal ddl
2. Insert decimal values
3. Query decimal with last/last_row
4. Query decimal view with last/last_row

DataTypes: double
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: float
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: geometry
1. Create stable with geometry datatype on column and tag
2. Insert and query data with geometry datatype
3. Automatically create child table with geometry datatype on tag
4. Alter tag value with geometry datatype
5. Test illegal input for geometry datatype
6. Create normal table with geometry datatype on column
7. Insert and query data with geometry datatype
8. Insert geometry column/tag with NULL value
9. Insert geometry format: POINT/LINESTRING/POLYGON,/MULTIPOINT/MULTILINESTRING/MULTIPOLYGON/GEOMETRYCOLLECTION

DataTypes: int
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: json
1. Create table
2. Insert data
3. Alter tag value
4. Handle illegal input

DataTypes: nchar
1. Create table
2. Insert data
3. Alter tag value
4. Handle illegal input

DataTypes: nchar chinese
1. Create table
2. Insert data
3. Query data

DataTypes: smallint
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: timestamp
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: tinyint
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: unsigned int
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: unsigned numeric
1. Create table
2. Insert data
3. Alter tag value
4. Handle illegal input

DataTypes: varbinary
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input

DataTypes: varchar
1. Create table
2. Insert data
3. Auto-create table
4. Alter tag value
5. Handle illegal input
6. Query with varchar values
7. Cast on varchar

NULL: column
1. Create table
2. Insert data with NULL
3. Query data

NULL: varchar column with LIMIT triggers blockDataKeepFirstNRows all-NULL path
When the first N rows of a variable-length column are all NULL and a
LIMIT N query is executed, blockDataKeepFirstNRows must set
varmeta.length to 0 instead of keeping the stale value.

NULL: tag
1. Create table with NULL tags
2. Select tags
3. Alter tags with NULL
4. Insert data with NULL tags
5. Query data with NULL tags