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
{{ message }}
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: platform/testdata/clients/clover.go
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -350,8 +350,8 @@ var CloverTests = []testdata.AggregationTestCase{
350
350
countIf(NOT ("table.flower" __quesma_match 'clover')) AS
351
351
"metric__timeseries__a2-numerator_col_0"
352
352
FROM __quesma_table_name
353
-
WHERE ("@timestamp">=fromUnixTimestamp64Milli(1728640683723) AND "@timestamp"<=
354
-
fromUnixTimestamp64Milli(1728641583723))`,
353
+
WHERE ("@timestamp">=__quesma_from_unixtime64mili(1728640683723) AND "@timestamp"<=
354
+
__quesma_from_unixtime64mili(1728641583723))`,
355
355
},
356
356
{ // [2]
357
357
TestName: "simplest auto_date_histogram",
@@ -477,8 +477,8 @@ var CloverTests = []testdata.AggregationTestCase{
477
477
ExpectedPancakeSQL: `
478
478
SELECT count(*) AS "aggr__timeseries__count"
479
479
FROM __quesma_table_name
480
-
WHERE ("timestamp">=fromUnixTimestamp64Milli(1728581627125) AND "timestamp"<=
481
-
fromUnixTimestamp64Milli(1728635627125))`,
480
+
WHERE ("timestamp">=__quesma_from_unixtime64mili(1728581627125) AND "timestamp"<=
481
+
__quesma_from_unixtime64mili(1728635627125))`,
482
482
AdditionalAcceptableDifference: []string{"key_as_string"}, // timezone differences between local and github runs... There's always 2h difference between those, need to investigate. Maybe come back to .UTC() so there's no "+timezone" (e.g. +02:00)?
483
483
},
484
484
{ // [3]
@@ -648,8 +648,8 @@ var CloverTests = []testdata.AggregationTestCase{
648
648
countIf(NOT ("a.b_str" IS NOT NULL)) AS
649
649
"metric__timeseries__f2-numerator_col_0"
650
650
FROM __quesma_table_name
651
-
WHERE ("@timestamp">=fromUnixTimestamp64Milli(1721399904783) AND "@timestamp"<=
652
-
fromUnixTimestamp64Milli(1730475504783))`,
651
+
WHERE ("@timestamp">=__quesma_from_unixtime64mili(1721399904783) AND "@timestamp"<=
652
+
__quesma_from_unixtime64mili(1730475504783))`,
653
653
},
654
654
{ // [4]
655
655
TestName: "todo",
@@ -949,8 +949,8 @@ var CloverTests = []testdata.AggregationTestCase{
949
949
toInt64(toUnixTimestamp64Milli("@timestamp") / 604800000) AS
950
950
"aggr__q__time_buckets__key_0", count(*) AS "aggr__q__time_buckets__count"
951
951
FROM __quesma_table_name
952
-
WHERE (("@timestamp">=fromUnixTimestamp64Milli(1728507729621) AND "@timestamp"<=
953
-
fromUnixTimestamp64Milli(1728507732621)) AND "__quesma_fulltext_field_name"
952
+
WHERE (("@timestamp">=__quesma_from_unixtime64mili(1728507729621) AND "@timestamp"<=
953
+
__quesma_from_unixtime64mili(1728507732621)) AND "__quesma_fulltext_field_name"
954
954
__quesma_match '%')
955
955
GROUP BY toInt64(toUnixTimestamp64Milli("@timestamp") / 604800000) AS
0 commit comments