Skip to content

Commit b73691c

Browse files
committed
remove index
1 parent 081150e commit b73691c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

doris/ddl.sql

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ CREATE TABLE bluesky (
44
collection VARCHAR(100) GENERATED ALWAYS AS (get_json_string(data, '$.commit.collection')) NULL,
55
did VARCHAR(100) GENERATED ALWAYS AS (get_json_string(data,'$.did')) NOT NULL,
66
time DATETIME GENERATED ALWAYS AS (from_microsecond(get_json_bigint(data, '$.time_us'))) NOT NULL,
7-
`data` variant<'kind': string, 'commit.operation' : string, 'commit.collection' : string, 'did' : string, 'time_us' : bigint, properties("variant_max_subcolumns_count" = "1024")> NOT NULL,
8-
INDEX idx_kind(data) USING INVERTED PROPERTIES("field_pattern" = "kind"),
9-
INDEX idx_operation(data) USING INVERTED PROPERTIES("field_pattern" = "commit.operation"),
10-
INDEX idx_collection(data) USING INVERTED PROPERTIES("field_pattern" = "commit.collection"),
11-
INDEX idx_did(data) USING INVERTED PROPERTIES("field_pattern" = "did"),
12-
INDEX idx_time(data) USING INVERTED PROPERTIES("field_pattern" = "time_us"),
7+
`data` variant<'kind': string, 'commit.operation' : string, 'commit.collection' : string, 'did' : string, 'time_us' : bigint, properties("variant_max_subcolumns_count" = "1024")> NOT NULL
138
)
149
DUPLICATE KEY (kind, operation, collection, did)
1510
DISTRIBUTED BY HASH(collection, did) BUCKETS 32

0 commit comments

Comments
 (0)