Kang
151842a1fe
[feature](inverted index)WIP inverted index api: SQL syntax and metadata ( #13430 )
...
Introduce a SQL syntax for creating inverted index and related metadata changes.
```
-- create table with INVERTED index
CREATE TABLE httplogs (
ts datetime,
clientip varchar(20),
request string,
status smallint,
size int,
INDEX idx_size (size) USING INVERTED,
INDEX idx_status (status) USING INVERTED,
INDEX idx_clientip (clientip) USING INVERTED PROPERTIES("parser"="none")
)
DUPLICATE KEY(ts)
DISTRIBUTED BY RANDOM BUCKETS 10
-- add an INVERTED index to a table
CREATE INDEX idx_request ON httplogs(request) USING INVERTED PROPERTIES("parser"="english");
```
2022-11-08 23:46:53 +08:00
..
2022-11-03 11:58:14 +08:00
2022-04-21 11:55:41 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-09-25 23:46:45 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-11-08 22:15:10 +08:00
2022-11-07 14:13:05 +08:00
2022-10-25 16:37:07 +08:00
2022-11-03 09:02:21 +08:00
2022-11-03 17:12:17 +08:00
2022-10-26 09:24:46 +08:00
2022-10-31 17:44:56 +08:00
2022-11-01 13:38:43 +08:00
2022-10-25 16:37:07 +08:00
2022-10-20 15:52:31 +08:00
2022-10-25 22:29:05 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-11-08 23:46:53 +08:00
2022-11-03 08:36:07 +08:00
2022-11-07 20:51:31 +08:00
2022-10-21 15:29:27 +08:00
2022-10-25 16:37:07 +08:00
2022-10-26 12:52:21 +08:00
2022-11-04 15:01:06 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-11-08 08:51:39 +08:00
2022-11-08 22:09:16 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 16:37:07 +08:00
2022-10-25 22:29:05 +08:00
2022-10-20 10:02:27 +08:00
2022-10-20 14:07:53 +08:00
2022-10-20 14:07:53 +08:00
2022-10-20 14:07:53 +08:00
2022-10-27 09:47:18 +08:00
2022-10-04 20:56:22 +08:00
2022-11-03 19:44:44 +08:00
2022-10-25 16:37:07 +08:00
2022-09-16 17:38:23 +08:00
2022-09-27 17:12:52 +08:00
2022-10-26 12:52:21 +08:00
2022-11-08 16:40:46 +08:00
2022-10-09 20:30:00 +08:00
2022-10-01 20:53:04 +08:00
2022-10-09 20:30:00 +08:00
2022-09-19 09:19:17 +08:00
2022-10-04 20:56:22 +08:00
2022-10-25 16:37:07 +08:00
2022-09-29 10:45:17 +08:00
2022-08-15 13:24:57 +08:00
2022-09-29 10:45:17 +08:00
2022-10-25 16:37:07 +08:00