Skip to content

Commit

Permalink
add skipping index creation
Browse files Browse the repository at this point in the history
Signed-off-by: YANGDB <[email protected]>
  • Loading branch information
YANG-DB committed Apr 26, 2024
1 parent a5ef2e0 commit 88c6559
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CREATE SKIPPING INDEX ON {table_name} (
accountid BLOOM_FILTER,
region VALUE_SET,
severity_id VALUE_SET,
src_endpoint.ip BLOOM_FILTER,
dst_endpoint.ip BLOOM_FILTER,
src_endpoint.svc_name VALUE_SET,
dst_endpoint.svc_name VALUE_SET,
request_processing_time MIN_MAX,
traffic.bytes MIN_MAX
) WITH (
auto_refresh = true,
refresh_interval = '15 Minutes',
checkpoint_location = '{s3_checkpoint_location}',
watermark_delay = '1 Minute'
)
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,27 @@
}
],
"assets": [
{
"name": "create_table_parquet_vpc",
"version": "1.0.0",
"extension": "sql",
"type": "query",
"workflows": ["flint-live-dashboards","flint-pre-agg-dashboards"]
},
{
"name": "example_queries",
"version": "1.0.0",
"extension": "ndjson",
"type": "savedObjectBundle",
"workflows": ["queries"]
},
{
"name": "create_skipping_index",
"version": "1.0.0",
"extension": "sql",
"type": "query",
"workflows": ["queries"]
},
{
"name": "aws_vpc_flow",
"version": "1.0.0",
Expand All @@ -103,14 +117,6 @@
"type": "savedObjectBundle",
"workflows": ["flint-pre-agg-dashboards"]
},

{
"name": "create_table_parquet_vpc",
"version": "1.0.0",
"extension": "sql",
"type": "query",
"workflows": ["flint-live-dashboards","flint-pre-agg-dashboards"]
},
{
"name": "vpc_live_all_mv",
"version": "1.0.0",
Expand Down

0 comments on commit 88c6559

Please sign in to comment.