Skip to content

Commit 63b3cd8

Browse files
committed
test fixes 2
1 parent 1f75312 commit 63b3cd8

16 files changed

Lines changed: 1273 additions & 658 deletions

tsl/src/continuous_aggs/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#define DEFAULT_MATPARTCOLUMN_NAME "time_partition_col"
4040
#define CAGG_INVALIDATION_THRESHOLD_NAME "invalidation threshold watermark"
41-
#define CAGG_INVALIDATION_WRONG_GREATEST_VALUE ((int64) - 210866803200000001)
41+
#define CAGG_INVALIDATION_WRONG_GREATEST_VALUE ((int64) -210866803200000001)
4242

4343
typedef struct FinalizeQueryInfo
4444
{

tsl/test/expected/cagg-15.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,6 @@ insert into raw_data select '2000-05-01 00:00+0','Q3', 0, 0;
14451445
\set ON_ERROR_STOP 0
14461446
CALL refresh_continuous_aggregate('search_query_count_3', NULL, '2000-06-01 00:00+0'::timestamptz);
14471447
CALL refresh_continuous_aggregate('search_query_count_3', '2000-05-01 00:00+0'::timestamptz, '2000-06-01 00:00+0'::timestamptz);
1448-
NOTICE: continuous aggregate "search_query_count_3" is already up-to-date
14491448
\set ON_ERROR_STOP 1
14501449
--insert row
14511450
insert into raw_data select '2001-05-10 00:00+0','Q3', 100, 100;
@@ -1471,8 +1470,9 @@ WHERE materialization_id = :'MAT_HTID' ORDER BY 1, 2,3;
14711470
materialization_id | lowest_modified_value | greatest_modified_value
14721471
--------------------+-----------------------+-------------------------
14731472
41 | -9223372036854775808 | -210866803200000001
1474-
41 | 959817600000000 | 988675199999999
1475-
41 | 991353600000000 | 9223372036854775807
1473+
41 | 947376060000000 | 956447999999999
1474+
41 | 959817600000000 | 988847999999999
1475+
41 | 990144000000000 | 9223372036854775807
14761476

14771477
SELECT * from search_query_count_3
14781478
WHERE bucket > '2001-01-01'

tsl/test/expected/cagg-16.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,6 @@ insert into raw_data select '2000-05-01 00:00+0','Q3', 0, 0;
14451445
\set ON_ERROR_STOP 0
14461446
CALL refresh_continuous_aggregate('search_query_count_3', NULL, '2000-06-01 00:00+0'::timestamptz);
14471447
CALL refresh_continuous_aggregate('search_query_count_3', '2000-05-01 00:00+0'::timestamptz, '2000-06-01 00:00+0'::timestamptz);
1448-
NOTICE: continuous aggregate "search_query_count_3" is already up-to-date
14491448
\set ON_ERROR_STOP 1
14501449
--insert row
14511450
insert into raw_data select '2001-05-10 00:00+0','Q3', 100, 100;
@@ -1471,8 +1470,9 @@ WHERE materialization_id = :'MAT_HTID' ORDER BY 1, 2,3;
14711470
materialization_id | lowest_modified_value | greatest_modified_value
14721471
--------------------+-----------------------+-------------------------
14731472
41 | -9223372036854775808 | -210866803200000001
1474-
41 | 959817600000000 | 988675199999999
1475-
41 | 991353600000000 | 9223372036854775807
1473+
41 | 947376060000000 | 956447999999999
1474+
41 | 959817600000000 | 988847999999999
1475+
41 | 990144000000000 | 9223372036854775807
14761476

14771477
SELECT * from search_query_count_3
14781478
WHERE bucket > '2001-01-01'

tsl/test/expected/cagg-17.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,6 @@ insert into raw_data select '2000-05-01 00:00+0','Q3', 0, 0;
14451445
\set ON_ERROR_STOP 0
14461446
CALL refresh_continuous_aggregate('search_query_count_3', NULL, '2000-06-01 00:00+0'::timestamptz);
14471447
CALL refresh_continuous_aggregate('search_query_count_3', '2000-05-01 00:00+0'::timestamptz, '2000-06-01 00:00+0'::timestamptz);
1448-
NOTICE: continuous aggregate "search_query_count_3" is already up-to-date
14491448
\set ON_ERROR_STOP 1
14501449
--insert row
14511450
insert into raw_data select '2001-05-10 00:00+0','Q3', 100, 100;
@@ -1471,8 +1470,9 @@ WHERE materialization_id = :'MAT_HTID' ORDER BY 1, 2,3;
14711470
materialization_id | lowest_modified_value | greatest_modified_value
14721471
--------------------+-----------------------+-------------------------
14731472
41 | -9223372036854775808 | -210866803200000001
1474-
41 | 959817600000000 | 988675199999999
1475-
41 | 991353600000000 | 9223372036854775807
1473+
41 | 947376060000000 | 956447999999999
1474+
41 | 959817600000000 | 988847999999999
1475+
41 | 990144000000000 | 9223372036854775807
14761476

14771477
SELECT * from search_query_count_3
14781478
WHERE bucket > '2001-01-01'

tsl/test/expected/cagg-18.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,6 @@ insert into raw_data select '2000-05-01 00:00+0','Q3', 0, 0;
14451445
\set ON_ERROR_STOP 0
14461446
CALL refresh_continuous_aggregate('search_query_count_3', NULL, '2000-06-01 00:00+0'::timestamptz);
14471447
CALL refresh_continuous_aggregate('search_query_count_3', '2000-05-01 00:00+0'::timestamptz, '2000-06-01 00:00+0'::timestamptz);
1448-
NOTICE: continuous aggregate "search_query_count_3" is already up-to-date
14491448
\set ON_ERROR_STOP 1
14501449
--insert row
14511450
insert into raw_data select '2001-05-10 00:00+0','Q3', 100, 100;
@@ -1471,8 +1470,9 @@ WHERE materialization_id = :'MAT_HTID' ORDER BY 1, 2,3;
14711470
materialization_id | lowest_modified_value | greatest_modified_value
14721471
--------------------+-----------------------+-------------------------
14731472
41 | -9223372036854775808 | -210866803200000001
1474-
41 | 959817600000000 | 988675199999999
1475-
41 | 991353600000000 | 9223372036854775807
1473+
41 | 947376060000000 | 956447999999999
1474+
41 | 959817600000000 | 988847999999999
1475+
41 | 990144000000000 | 9223372036854775807
14761476

14771477
SELECT * from search_query_count_3
14781478
WHERE bucket > '2001-01-01'

0 commit comments

Comments
 (0)