Changeset: f565eecf07cf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f565eecf07cf
Modified Files:
        sql/backends/monet5/sql_upgrades.c
        
sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
        sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
        sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
        sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
        sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
        sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
        
sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
        sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out
        sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
        sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
        sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out
        sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128
Branch: Aug2024
Log Message:

Backed out changesets 1abb97336c05 and 70402bf08abf


diffs (234 lines):

diff --git a/sql/backends/monet5/sql_upgrades.c 
b/sql/backends/monet5/sql_upgrades.c
--- a/sql/backends/monet5/sql_upgrades.c
+++ b/sql/backends/monet5/sql_upgrades.c
@@ -3747,10 +3747,10 @@ sql_update_aug2024(Client c, mvc *sql, s
                                "update sys.args set type_digits = 63 where 
type = 'bigint' and type_digits <> 63;\n"
                                "update sys.args set type_digits = 127 where 
type = 'hugeint' and type_digits <> 127;\n"
                                "update sys.args set type = 'varchar' where 
type in ('clob', 'char');\n"
-                               "drop aggregate median(decimal(18,3));\n"
-                               "drop aggregate median_avg(decimal(18,3));\n"
-                               "drop aggregate quantile(decimal(18,3), 
double);\n"
-                               "drop aggregate quantile_avg(decimal(18,3), 
double);\n"
+                               "drop aggregate median(decimal);\n"
+                               "drop aggregate median_avg(decimal);\n"
+                               "drop aggregate quantile(decimal, double);\n"
+                               "drop aggregate quantile_avg(decimal, 
double);\n"
                                "create aggregate median(val DECIMAL(2)) 
returns DECIMAL(2)\n"
                                " external name \"aggr\".\"median\";\n"
                                "GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) 
TO PUBLIC;\n"
diff --git 
a/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 
b/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
--- 
a/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
+++ 
b/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out 
b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
--- a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
+++ b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git 
a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 
b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
--- a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
+++ b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
@@ -96,10 +96,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git 
a/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 
b/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
--- a/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
+++ b/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out 
b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
--- a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
+++ b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128 
b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
--- a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
+++ b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
@@ -96,10 +96,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git 
a/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out 
b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out
--- a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out
+++ b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git 
a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
@@ -96,10 +96,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git 
a/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out 
b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out
--- a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out
+++ b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out
@@ -13,10 +13,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
diff --git a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out.int128
@@ -96,10 +96,10 @@ update sys.args set type_digits = 31 whe
 update sys.args set type_digits = 63 where type = 'bigint' and type_digits <> 
63;
 update sys.args set type_digits = 127 where type = 'hugeint' and type_digits 
<> 127;
 update sys.args set type = 'varchar' where type in ('clob', 'char');
-drop aggregate median(decimal(18,3));
-drop aggregate median_avg(decimal(18,3));
-drop aggregate quantile(decimal(18,3), double);
-drop aggregate quantile_avg(decimal(18,3), double);
+drop aggregate median(decimal);
+drop aggregate median_avg(decimal);
+drop aggregate quantile(decimal, double);
+drop aggregate quantile_avg(decimal, double);
 create aggregate median(val DECIMAL(2)) returns DECIMAL(2)
  external name "aggr"."median";
 GRANT EXECUTE ON AGGREGATE median(DECIMAL(2)) TO PUBLIC;
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to