Changeset: 0769710b175a for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0769710b175a Added Files: sql/test/BugTracker-2013/Tests/case-orderby.Bug-3388.sql sql/test/BugTracker-2013/Tests/case-orderby.Bug-3388.stable.err sql/test/BugTracker-2013/Tests/case-orderby.Bug-3388.stable.out sql/test/BugTracker-2013/Tests/unop_vs_aggr.Bug-3885.sql sql/test/BugTracker-2013/Tests/unop_vs_aggr.Bug-3885.stable.err sql/test/BugTracker-2013/Tests/unop_vs_aggr.Bug-3885.stable.out Removed Files: clients/Tests/MAL-signatures.stable.out.Windows sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090_nogeom.sql.src sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090_nogeom.stable.err sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090_nogeom.stable.out sql/test/mapi/Tests/php_monetdb_nogeom.SQL.bat sql/test/mapi/Tests/php_monetdb_nogeom.SQL.sh sql/test/mapi/Tests/php_monetdb_nogeom.stable.err sql/test/mapi/Tests/php_monetdb_nogeom.stable.out Modified Files: clients/examples/php/sqlsample.php gdk/gdk_aggr.c sql/server/rel_optimizer.c sql/server/rel_select.c sql/test/BugTracker-2010/Tests/limit_in_prepare.Bug-2552.sql sql/test/BugTracker-2010/Tests/limit_in_prepare.Bug-2552.stable.out sql/test/BugTracker-2010/Tests/limit_in_prepare.Bug-2552.stable.out.32bit sql/test/BugTracker-2012/Tests/All sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090.sql sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090.stable.err sql/test/BugTracker-2012/Tests/predicate_select.Bug-3090.stable.out sql/test/BugTracker-2013/Tests/All sql/test/BugTracker-2013/Tests/swapped_likejoin.Bug-3375.sql sql/test/BugTracker-2013/Tests/swapped_likejoin.Bug-3375.stable.out sql/test/mapi/Tests/All sql/test/mapi/Tests/php_monetdb.stable.out Branch: default Log Message:
Merge with Feb2013 branch. diffs (truncated from 44401 to 300 lines): diff --git a/clients/Tests/MAL-signatures.stable.out.Windows b/clients/Tests/MAL-signatures.stable.out.Windows deleted file mode 100644 --- a/clients/Tests/MAL-signatures.stable.out.Windows +++ /dev/null @@ -1,43300 +0,0 @@ -stdout of test 'MAL-signatures` in directory 'clients` itself: - - -# 20:07:36 > -# 20:07:36 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=31131" "--set" "mapi_usock=/var/tmp/mtest-1103/.s.monetdb.31131" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/ufs/manegold/_/Monet/HG/Feb2013/prefix/--disable-debug_--enable-assert_--enable-optimize/var/MonetDB/mTests_clients" "MAL-signatures.mal" -# 20:07:36 > - -# MonetDB 5 server v11.15.12 -# This is an unreleased version -# Serving database 'mTests_clients', using 8 threads -# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked -# Found 15.591 GiB available main-memory. -# Copyright (c) 1993-July 2008 CWI. -# Copyright (c) August 2008-2013 MonetDB B.V., all rights reserved -# Visit http://www.monetdb.org/ for further information -# Listening for connection requests on mapi:monetdb://rome.ins.cwi.nl:31131/ -# Listening for UNIX domain connection requests on mapi:monetdb:///var/tmp/mtest-1103/.s.monetdb.31131 -# MonetDB/GIS module loaded -# MonetDB/JAQL module loaded -# MonetDB/SQL module loaded - -Ready. - -# 00:44:35 > -# 00:44:35 > "mclient" "-lmal" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-13629" "--port=31724" -# 00:44:35 > - -#?*) -command aggr.avg(b:bat[:oid,:dbl],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on dbl, also returns count - -command aggr.avg(b:bat[:oid,:dbl],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on dbl, also returns count - -command aggr.avg(b:bat[:oid,:dbl],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on dbl - -command aggr.avg(b:bat[:oid,:dbl],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on dbl - -command aggr.avg(b:bat[:oid,:flt],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on flt, also returns count - -command aggr.avg(b:bat[:oid,:flt],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on flt, also returns count - -command aggr.avg(b:bat[:oid,:flt],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on flt - -command aggr.avg(b:bat[:oid,:flt],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on flt - -command aggr.avg(b:bat[:oid,:lng],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on lng, also returns count - -command aggr.avg(b:bat[:oid,:lng],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on lng, also returns count - -command aggr.avg(b:bat[:oid,:lng],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on lng - -command aggr.avg(b:bat[:oid,:lng],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on lng - -command aggr.avg(b:bat[:oid,:wrd],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on wrd, also returns count - -command aggr.avg(b:bat[:oid,:wrd],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on wrd, also returns count - -command aggr.avg(b:bat[:oid,:wrd],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on wrd - -command aggr.avg(b:bat[:oid,:wrd],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on wrd - -command aggr.avg(b:bat[:oid,:int],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on int, also returns count - -command aggr.avg(b:bat[:oid,:int],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on int, also returns count - -command aggr.avg(b:bat[:oid,:int],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on int - -command aggr.avg(b:bat[:oid,:int],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on int - -command aggr.avg(b:bat[:oid,:sht],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on sht, also returns count - -command aggr.avg(b:bat[:oid,:sht],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on sht, also returns count - -command aggr.avg(b:bat[:oid,:sht],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on sht - -command aggr.avg(b:bat[:oid,:sht],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on sht - -command aggr.avg(b:bat[:oid,:bte],g:bat[:oid,:oid],e:bat[:oid,:any_1]) (X_4:bat[:oid,:dbl],X_5:bat[:oid,:wrd]) -address AGGRavg23_dbl; -comment Grouped tail average on bte, also returns count - -command aggr.avg(b:bat[:oid,:bte],e:bat[:oid,:any_1]) (X_3:bat[:oid,:dbl],X_4:bat[:oid,:wrd]) -address AGGRavg22_dbl; -comment Grouped tail average on bte, also returns count - -command aggr.avg(b:bat[:oid,:bte],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg13_dbl; -comment Grouped tail average on bte - -command aggr.avg(b:bat[:oid,:bte],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRavg12_dbl; -comment Grouped tail average on bte - -command aggr.avg(b:bat[:any_1,:dbl]):dbl -address ALGavg; -comment Gives the avg of all tail values - -command aggr.avg(b:bat[:any_1,:flt]):dbl -address ALGavg; -comment Gives the avg of all tail values - -command aggr.avg(b:bat[:any_1,:lng]):dbl -address ALGavg; -comment Gives the avg of all tail values - -command aggr.avg(b:bat[:any_1,:wrd]):dbl -address ALGavg; -comment Gives the avg of all tail values - -command aggr.avg(b:bat[:any_1,:int]):dbl -address ALGavg; -comment Gives the avg of all tail values - -command aggr.avg(b:bat[:any_1,:sht]):dbl -address ALGavg; -comment Gives the avg of all tail values - -command aggr.avg(b:bat[:any_1,:bte]):dbl -address ALGavg; -comment Gives the avg of all tail values - -function aggr.corr(e1:bat[:oid,:dbl],e2:bat[:oid,:dbl],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:dbl]; -function aggr.covar(e1:bat[:oid,:dbl],e2:bat[:oid,:dbl],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:dbl]; -function aggr.corr(e1:bat[:oid,:dbl],e2:bat[:oid,:dbl]):dbl; -function aggr.covar(e1:bat[:oid,:dbl],e2:bat[:oid,:dbl]):dbl; -function aggr.corr(e1:bat[:oid,:flt],e2:bat[:oid,:flt],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:flt]; -function aggr.covar(e1:bat[:oid,:flt],e2:bat[:oid,:flt],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:flt]; -function aggr.corr(e1:bat[:oid,:flt],e2:bat[:oid,:flt]):flt; -function aggr.covar(e1:bat[:oid,:flt],e2:bat[:oid,:flt]):flt; -function aggr.corr(e1:bat[:oid,:lng],e2:bat[:oid,:lng],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:lng]; -function aggr.covar(e1:bat[:oid,:lng],e2:bat[:oid,:lng],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:lng]; -function aggr.corr(e1:bat[:oid,:lng],e2:bat[:oid,:lng]):lng; -function aggr.covar(e1:bat[:oid,:lng],e2:bat[:oid,:lng]):lng; -function aggr.corr(e1:bat[:oid,:wrd],e2:bat[:oid,:wrd],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:wrd]; -function aggr.covar(e1:bat[:oid,:wrd],e2:bat[:oid,:wrd],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:wrd]; -function aggr.corr(e1:bat[:oid,:wrd],e2:bat[:oid,:wrd]):wrd; -function aggr.covar(e1:bat[:oid,:wrd],e2:bat[:oid,:wrd]):wrd; -function aggr.corr(e1:bat[:oid,:int],e2:bat[:oid,:int],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:int]; -function aggr.covar(e1:bat[:oid,:int],e2:bat[:oid,:int],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:int]; -function aggr.corr(e1:bat[:oid,:int],e2:bat[:oid,:int]):int; -function aggr.covar(e1:bat[:oid,:int],e2:bat[:oid,:int]):int; -function aggr.corr(e1:bat[:oid,:sht],e2:bat[:oid,:sht],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:sht]; -function aggr.covar(e1:bat[:oid,:sht],e2:bat[:oid,:sht],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:sht]; -function aggr.corr(e1:bat[:oid,:sht],e2:bat[:oid,:sht]):sht; -function aggr.covar(e1:bat[:oid,:sht],e2:bat[:oid,:sht]):sht; -function aggr.corr(e1:bat[:oid,:bte],e2:bat[:oid,:bte],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:bte]; -function aggr.covar(e1:bat[:oid,:bte],e2:bat[:oid,:bte],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:bte]; -function aggr.corr(e1:bat[:oid,:bte],e2:bat[:oid,:bte]):bte; -function aggr.covar(e1:bat[:oid,:bte],e2:bat[:oid,:bte]):bte; -command aggr.count_no_nil(b:bat[:oid,:any_1],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:wrd] -address AGGRcount3nonils; -command aggr.count(b:bat[:oid,:any_1],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:wrd] -address AGGRcount3nils; -comment Grouped count - -command aggr.count_no_nil(b:bat[:oid,:any_1],e:bat[:oid,:any_1]):bat[:oid,:wrd] -address AGGRcount2nonils; -command aggr.count(b:bat[:void,:any_1],e:bat[:void,:any_2]):bat[:void,:wrd] -address AGGRcount2nils; -command aggr.count(b:bat[:void,:any_1],e:bat[:oid,:any_2]):bat[:void,:wrd] -address AGGRcount2nils; -comment Grouped count - -command aggr.count(b:bat[:oid,:any_1],g:bat[:oid,:oid],e:bat[:oid,:any_2],ignorenils:bit):bat[:void,:wrd] -address AGGRcount3; -command aggr.count(b:bat[:oid,:any_1],e:bat[:oid,:any_2],ignorenils:bit):bat[:oid,:wrd] -address AGGRcount2; -comment Grouped count - -command aggr.cardinality(b:bat[:any_1,:any_2]):lng -address ALGcard; -comment Return the cardinality of the BAT tail values. - -command aggr.count_no_nil(b:bat[:any_1,:any_2]):wrd -address ALGcount_no_nil; -comment Return the number of elements currently in a BAT ignoring BUNs with nil-tail - -command aggr.count(b:bat[:any_1,:any],ignore_nils:bit):wrd -address ALGcount_nil; -comment Return the number of elements currently in a BAT ignores BUNs with nil-tail iff ignore_nils==TRUE. - -command aggr.count(b:bat[:any_1,:any]):wrd -address ALGcount_bat; -comment Return the current size (in number of elements) in a BAT. - -command aggr.exist(b:bat[:any_1,:any_2],h:any_1):bit -address ALGexist; -command aggr.histogram(b:bat[:any_1,:any_2]):bat[:any_2,:int] -address ALGhistogram; -comment Produce a BAT containing the histogram over the tail values. - -function aggr.median(b:bat[:oid,:any_1]):any_1; -command aggr.median(b:bat[:oid,:any_1],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:any_1] -address AGGRmedian3; -comment Grouped median aggregate - -command aggr.max(b:bat[:oid,:any_1],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:any_1] -address AGGRmax3; -command aggr.min(b:bat[:oid,:any_1],g:bat[:oid,:oid],e:bat[:oid,:any_2]):bat[:oid,:any_1] -address AGGRmin3; -command aggr.max(b:bat[:oid,:any_1],e:bat[:oid,:any_2]):bat[:oid,:any_1] -address AGGRmax2; -command aggr.min(b:bat[:oid,:any_1],e:bat[:oid,:any_2]):bat[:oid,:any_1] -address AGGRmin2; -command aggr.max(b:bat[:any_1,:any_2]):any_2 -address ALGmaxany; -comment Return the highest tail value or nil. - -command aggr.min(b:bat[:any_1,:any_2]):any_2 -address ALGminany; -comment Return the lowest tail value or nil. - -command aggr.prod(b:bat[:oid,:dbl],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRprod3_dbl; -comment Grouped tail product on dbl - -command aggr.prod(b:bat[:oid,:dbl],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRprod2_dbl; -comment Product over grouped tail product on dbl - -command aggr.prod(b:bat[:oid,:flt],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRprod3_dbl; -comment Grouped tail product on flt - -command aggr.prod(b:bat[:oid,:flt],e:bat[:oid,:any_1]):bat[:oid,:dbl] -address AGGRprod2_dbl; -comment Product over grouped tail product on flt - -command aggr.prod(b:bat[:oid,:flt],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:flt] -address AGGRprod3_flt; -comment Grouped tail product on flt - -command aggr.prod(b:bat[:oid,:flt],e:bat[:oid,:any_1]):bat[:oid,:flt] -address AGGRprod2_flt; -comment Product over grouped tail product on flt - -command aggr.prod(b:bat[:oid,:lng],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:lng] -address AGGRprod3_lng; -comment Grouped tail product on lng - -command aggr.prod(b:bat[:oid,:lng],e:bat[:oid,:any_1]):bat[:oid,:lng] -address AGGRprod2_lng; -comment Product over grouped tail product on lng - -command aggr.prod(b:bat[:oid,:wrd],g:bat[:oid,:oid],e:bat[:oid,:any_1]):bat[:oid,:lng] -address AGGRprod3_lng; -comment Grouped tail product on wrd - _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list