We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551a047 commit 81c0f5bCopy full SHA for 81c0f5b
server/adaptors/integrations/__data__/repository/aws_waf/assets/create_mv-1.0.0.sql
@@ -1,6 +1,6 @@
1
CREATE MATERIALIZED VIEW {table_name}_mview AS
2
SELECT
3
- `timestamp` AS `@timestamp`,
+ CAST(FROM_UNIXTIME(`timestamp`/ 1000) AS TIMESTAMP) AS `@timestamp`,
4
formatVersion AS `aws.waf.formatVersion`,
5
webaclId AS `aws.waf.webaclId`,
6
terminatingRuleId AS `aws.waf.terminatingRuleId`,
@@ -22,7 +22,7 @@ FROM
22
{table_name}
23
WITH (
24
auto_refresh = 'true',
25
- checkpoint_location = '{s3_bucket_location}',
+ checkpoint_location = '{s3_checkpoint_location}',
26
watermark_delay = '1 Minute',
27
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
28
);
0 commit comments