You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query: 'SELECT * FROM stb_pre_aggregations.orders_w UNION ALL SELECT * FROM stb_pre_aggregations.orders_d UNION ALL SELECT * FROM stb_pre_aggregations.orders_h',
1247
+
values: [],
1248
+
cacheKeyQueries: {
1249
+
queries: []
1250
+
},
1251
+
preAggregations: [{
1252
+
preAggregationsSchema: 'stb_pre_aggregations',
1253
+
tableName: 'stb_pre_aggregations.orders_w',
1254
+
loadSql: [
1255
+
'CREATE TABLE stb_pre_aggregations.orders_w AS SELECT * FROM public.orders WHERE timestamp >= ? AND timestamp <= ?',
1256
+
['__FROM_PARTITION_RANGE','__TO_PARTITION_RANGE']
1257
+
],
1258
+
invalidateKeyQueries: [['SELECT CASE WHEN NOW() > ? THEN NOW() END as now',['__TO_PARTITION_RANGE'],{
1259
+
renewalThreshold: 1,
1260
+
updateWindowSeconds: 86400,
1261
+
renewalThresholdOutsideUpdateWindow: 86400,
1262
+
incremental: true
1263
+
}]],
1264
+
preAggregationStartEndQueries: [
1265
+
['SELECT MIN(timestamp) FROM orders',[]],
1266
+
['SELECT \'2021-05-31\'',[]],
1267
+
],
1268
+
external: true,
1269
+
partitionGranularity: 'week',
1270
+
timezone: 'UTC',
1271
+
rollupLambdaId: 'orders.d_lambda',
1272
+
matchedTimeDimensionDateRange
1273
+
},{
1274
+
preAggregationsSchema: 'stb_pre_aggregations',
1275
+
tableName: 'stb_pre_aggregations.orders_d',
1276
+
loadSql: [
1277
+
'CREATE TABLE stb_pre_aggregations.orders_d AS SELECT * FROM public.orders WHERE timestamp >= ? AND timestamp <= ?',
1278
+
['__FROM_PARTITION_RANGE','__TO_PARTITION_RANGE']
1279
+
],
1280
+
invalidateKeyQueries: [['SELECT CASE WHEN NOW() > ? THEN NOW() END as now',['__TO_PARTITION_RANGE'],{
1281
+
renewalThreshold: 1,
1282
+
updateWindowSeconds: 86400,
1283
+
renewalThresholdOutsideUpdateWindow: 86400,
1284
+
incremental: true
1285
+
}]],
1286
+
preAggregationStartEndQueries: [
1287
+
['SELECT MIN(timestamp) FROM orders',[]],
1288
+
['SELECT \'2021-05-31\'',[]],
1289
+
],
1290
+
external: true,
1291
+
partitionGranularity: 'day',
1292
+
timezone: 'UTC',
1293
+
rollupLambdaId: 'orders.d_lambda',
1294
+
matchedTimeDimensionDateRange
1295
+
},{
1296
+
preAggregationsSchema: 'stb_pre_aggregations',
1297
+
tableName: 'stb_pre_aggregations.orders_h',
1298
+
loadSql: [
1299
+
'CREATE TABLE stb_pre_aggregations.orders_h AS SELECT * FROM public.orders WHERE timestamp >= ? AND timestamp <= ?',
1300
+
['__FROM_PARTITION_RANGE','__TO_PARTITION_RANGE']
1301
+
],
1302
+
invalidateKeyQueries: [['SELECT CASE WHEN NOW() > ? THEN NOW() END as now',['__TO_PARTITION_RANGE'],{
0 commit comments