Skip to content

Commit

Permalink
Correct the checkpoint location placeholder
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Kao <[email protected]>
Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 and seankao-az committed Apr 12, 2024
1 parent 551a047 commit 81c0f5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CREATE MATERIALIZED VIEW {table_name}_mview AS
SELECT
`timestamp` AS `@timestamp`,
CAST(FROM_UNIXTIME(`timestamp`/ 1000) AS TIMESTAMP) AS `@timestamp`,
formatVersion AS `aws.waf.formatVersion`,
webaclId AS `aws.waf.webaclId`,
terminatingRuleId AS `aws.waf.terminatingRuleId`,
Expand All @@ -22,7 +22,7 @@ FROM
{table_name}
WITH (
auto_refresh = 'true',
checkpoint_location = '{s3_bucket_location}',
checkpoint_location = '{s3_checkpoint_location}',
watermark_delay = '1 Minute',
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
);

0 comments on commit 81c0f5b

Please sign in to comment.