Skip to content

Commit 81c0f5b

Browse files
RyanL1997seankao31
andcommitted
Correct the checkpoint location placeholder
Co-authored-by: Sean Kao <[email protected]> Signed-off-by: Ryan Liang <[email protected]>
1 parent 551a047 commit 81c0f5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/adaptors/integrations/__data__/repository/aws_waf/assets/create_mv-1.0.0.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CREATE MATERIALIZED VIEW {table_name}_mview AS
22
SELECT
3-
`timestamp` AS `@timestamp`,
3+
CAST(FROM_UNIXTIME(`timestamp`/ 1000) AS TIMESTAMP) AS `@timestamp`,
44
formatVersion AS `aws.waf.formatVersion`,
55
webaclId AS `aws.waf.webaclId`,
66
terminatingRuleId AS `aws.waf.terminatingRuleId`,
@@ -22,7 +22,7 @@ FROM
2222
{table_name}
2323
WITH (
2424
auto_refresh = 'true',
25-
checkpoint_location = '{s3_bucket_location}',
25+
checkpoint_location = '{s3_checkpoint_location}',
2626
watermark_delay = '1 Minute',
2727
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
2828
);

0 commit comments

Comments
 (0)