Skip to content

Commit

Permalink
[Backport 2.x] Remove manual refresh for S3 integrations (#1227)
Browse files Browse the repository at this point in the history
(cherry picked from commit 80f112a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 5454b17 commit 21035f7
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,10 @@ SELECT
classification as `aws.elb.classification`,
classification_reason as `aws.elb.classification_reason`
FROM
{table_name};
{table_name}
WITH (
auto_refresh = 'true',
checkpoint_location = '{s3_bucket_location}/checkpoint',
watermark_delay = '1 Minute',
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
);

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
"name": "create_mv",
"version": "1.0.0",
"language": "sql"
},
{
"name": "refresh_mv",
"version": "1.0.0",
"language": "sql"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ CREATE MATERIALIZED VIEW {table_name}_mview AS
ELSE 'egress'
END AS `aws.vpc.flow-direction`
FROM
{table_name};
{table_name}
WITH (
auto_refresh = 'true',
checkpoint_location = '{s3_bucket_location}/checkpoint',
watermark_delay = '1 Minute',
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
)

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@
"name": "create_mv_vpc",
"version": "1.0.0",
"language": "sql"
},
{
"name": "refresh_mv_vpc",
"version": "1.0.0",
"language": "sql"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ SELECT
body_bytes_sent AS `http.response.bytes`,
'nginx.access' AS `event.domain`
FROM {table_name}
WITH (
auto_refresh = 'true',
checkpoint_location = '{s3_bucket_location}/checkpoint',
watermark_delay = '1 Minute',
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
);

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
"name": "create_mv",
"version": "1.0.0",
"language": "sql"
},
{
"name": "refresh_mv",
"version": "1.0.0",
"language": "sql"
}
]
},
Expand Down

0 comments on commit 21035f7

Please sign in to comment.