Changeset: 131ff25f870a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/131ff25f870a
Modified Files:
        sql/test/rel-optimizers/Tests/const-aggr-elim.test
Branch: Dec2025
Log Message:

Different output with or without hugeint.


diffs (28 lines):

diff --git a/sql/test/rel-optimizers/Tests/const-aggr-elim.test 
b/sql/test/rel-optimizers/Tests/const-aggr-elim.test
--- a/sql/test/rel-optimizers/Tests/const-aggr-elim.test
+++ b/sql/test/rel-optimizers/Tests/const-aggr-elim.test
@@ -130,6 +130,7 @@ project (
 | ) [ "baz"."b" NOT NULL ] [ "baz"."b" NOT NULL ]
 ) [ real(24) "1" as "%1"."%1" ]
 
+onlyif has-hugeint
 query T nosort
 explain show details select prod(1), sum(0) from baz group by a
 ----
@@ -139,6 +140,16 @@ project (
 | ) [ "baz"."a" NOT NULL ] [ "baz"."a" NOT NULL ]
 ) [ hugeint(127) "1" as "%1"."%1", tinyint(4) "0" as "%2"."%2" ]
 
+skipif has-hugeint
+query T nosort
+explain show details select prod(1), sum(0) from baz group by a
+----
+project (
+| group by (
+| | table("sys"."baz") [ "baz"."a" NOT NULL ]
+| ) [ "baz"."a" NOT NULL ] [ "baz"."a" NOT NULL ]
+) [ bigint(63) "1" as "%1"."%1", tinyint(4) "0" as "%2"."%2" ]
+
 query II rowsort
 select prod(1), sum(0) from baz group by a
 ----
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to