15-Tag Indices¶
¶
Tagindex: create and drop
1. Create a super table
2. Create an index on a specific tag column
3. Query using the indexed tag
4. Drop the existing index
5. Query using the tag whose index was just dropped
¶
Tagindex: overflow
1. Create a super table
2. Set a wide value range for a specific tag column
3. Create an index on that tag column
4. Query using the indexed tag
¶
Tagindex: perf
1. Create a super table
2. Create a large number of child tables (this example uses 10, but should use 100,000 after the data preloading feature is implemented)
3. Insert one record into each child table
4. Create an index
5. Query each child table using tag filtering
¶
Tagindex basic
1. Create 1 stable and 1000 child tables
2. Create tag index for each tag column except the first one
3. Check error cases when creating tag index with invalid column names
4. Insert data into some child tables
5. Check create tag is successful
6. Query data using tag index and verify results
7. Drop a range of child tables
8. Drop all tag indexes
9. Attempt to create tag index with excessively long name and verify error
10. bug TS-4403: Create/drop tag index on supertable and verify behavior
11. Verify tag-to-tag comparison does not crash taosd