Skip to content

Commit d0ef91d

Browse files
[Integrations] Reformatting integration queries (#1726)
* Reformatting integration queries to address the job type issue for MV creation Signed-off-by: Ryan Liang <[email protected]> * Adding reformatting for elb integration Signed-off-by: Ryan Liang <[email protected]> --------- Signed-off-by: Ryan Liang <[email protected]> (cherry picked from commit 5bff29d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ed0cebd commit d0ef91d

19 files changed

+14
-19
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ WITH (
1414
checkpoint_location = '{s3_checkpoint_location}',
1515
watermark_delay = '1 Minute',
1616
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
17-
);
17+
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ WITH (
4040
checkpoint_location = '{s3_checkpoint_location}',
4141
watermark_delay = '1 Minute',
4242
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
43-
);
43+
)

server/adaptors/integrations/__data__/repository/aws_cloudfront/assets/create_table-1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ CREATE EXTERNAL TABLE IF NOT EXISTS {table_name} (
3636
USING csv
3737
LOCATION '{s3_bucket_location}'
3838
OPTIONS ( sep='\t' )
39-
TBLPROPERTIES ( 'skip.header.line.count'='2' );
39+
TBLPROPERTIES ( 'skip.header.line.count'='2' )

server/adaptors/integrations/__data__/repository/aws_cloudtrail/assets/create_table_cloud-trail-1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ LOCATION '{s3_bucket_location}'
6262
OPTIONS (
6363
compression='gzip',
6464
recursivefilelookup='true'
65-
);
65+
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ WITH (
5757
checkpoint_location = '{s3_checkpoint_location}',
5858
watermark_delay = '1 Minute',
5959
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
60-
);
60+
)

server/adaptors/integrations/__data__/repository/aws_elb/assets/create_table-1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ OPTIONS (
3535
sep=' ',
3636
compression='gzip',
3737
recursiveFileLookup='true'
38-
);
38+
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ WITH (
3333
checkpoint_location = '{s3_checkpoint_location}',
3434
watermark_delay = '1 Minute',
3535
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
36-
);
36+
)

server/adaptors/integrations/__data__/repository/aws_s3/assets/create_table-1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ USING csv
2929
OPTIONS (
3030
sep=' '
3131
)
32-
LOCATION '{s3_bucket_location}';
32+
LOCATION '{s3_bucket_location}'

server/adaptors/integrations/__data__/repository/aws_vpc_flow/assets/create_table_vpc-1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ CREATE EXTERNAL TABLE IF NOT EXISTS {table_name} (
1717
LOCATION '{s3_bucket_location}'
1818
OPTIONS (
1919
sep=' '
20-
);
20+
)

server/adaptors/integrations/__data__/repository/aws_vpc_flow/assets/vpc_agg_60min_connections_mv-1.0.0.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ CREATE MATERIALIZED VIEW IF NOT EXISTS {table_name}__agg_60_min_connections_mvie
2929
WITH (
3030
auto_refresh = false
3131
)
32-

server/adaptors/integrations/__data__/repository/aws_vpc_flow/assets/vpc_live_all_mv-1.0.0.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ WITH (
5959
watermark_delay = '1 Minute',
6060
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
6161
)
62-

server/adaptors/integrations/__data__/repository/aws_vpc_flow/assets/vpc_live_week_mv-1.0.0.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ CREATE MATERIALIZED VIEW {table_name}__week_live_mview AS
5858
WITH (
5959
auto_refresh = false
6060
)
61-

server/adaptors/integrations/__data__/repository/aws_vpc_flow/assets/vpc_window-agg_60min_dest_ip_cardinality_mv-1.0.0.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ ORDER BY
3333
WITH (
3434
auto_refresh = false
3535
)
36-

server/adaptors/integrations/__data__/repository/aws_vpc_flow/assets/vpc_window-agg_60min_dest_ip_total-bytes_mv-1.0.0.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ WITH hourly_buckets AS (
3333
WITH (
3434
auto_refresh = false
3535
)
36-

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ WITH (
2626
checkpoint_location = '{s3_checkpoint_location}',
2727
watermark_delay = '1 Minute',
2828
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
29-
);
29+
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ CREATE EXTERNAL TABLE {table_name} (
125125
`ja3Fingerprint` string
126126
)
127127
USING json
128-
LOCATION '{s3_bucket_location}'
128+
LOCATION '{s3_bucket_location}'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ WITH (
148148
checkpoint_location = '{s3_checkpoint_location}',
149149
watermark_delay = '1 Minute',
150150
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
151-
);
151+
)

server/adaptors/integrations/__data__/repository/haproxy/assets/create_table-1.0.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ CREATE EXTERNAL TABLE {table_name} (
44
LOCATION '{s3_bucket_location}'
55
OPTIONS (
66
sep='\0x1E'
7-
);
7+
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ WITH (
1414
checkpoint_location = '{s3_checkpoint_location}',
1515
watermark_delay = '1 Minute',
1616
extra_options = '{ "{table_name}": { "maxFilesPerTrigger": "10" }}'
17-
);
17+
)

0 commit comments

Comments
 (0)