Changeset: 1bf14e2f987f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1bf14e2f987f
Modified Files:
clients/Tests/MAL-signatures.stable.out
clients/Tests/MAL-signatures_gsl.stable.out
clients/Tests/MAL-signatures_nocfitsio.stable.out
clients/Tests/MAL-signatures_sphinxclient.stable.out
clients/Tests/exports.stable.out
Branch: default
Log Message:
Approved after recent changes.
diffs (truncated from 2392 to 300 lines):
diff --git a/clients/Tests/MAL-signatures.stable.out
b/clients/Tests/MAL-signatures.stable.out
--- a/clients/Tests/MAL-signatures.stable.out
+++ b/clients/Tests/MAL-signatures.stable.out
@@ -2607,6 +2607,14 @@ command algebra.sintersect(left:bat[:any
address ALGsintersect;
comment Returns the intersection taken over *both* columns of two BATs.
Results in all BUNs of 'left' that are also in 'right'. Does *not*
do double-elimination over the 'left' BUNs, If you want this, use:
'sintersect(sunique(left),sunique(right))' or:
'sunique(sintersect(left,right))'.
+command algebra.subunique(b:bat[:oid,:any_1]):bat[:oid,:oid]
+address ALGsubunique1;
+comment Select all unique values from the tail of the input. Input is a
dense-headed BAT, output is a dense-headed BAT with in the tail the head value
of the input BAT that was selected. The output BAT is sorted on the tail value.
+
+command algebra.subunique(b:bat[:oid,:any_1],s:bat[:oid,:oid]):bat[:oid,:oid]
+address ALGsubunique2;
+comment Select all unique values from the tail of the first input. Input
is a dense-headed BAT, the second input is a dense-headed BAT with sorted
tail, output is a dense-headed BAT with in the tail the head value of the
input BAT that was selected. The output BAT is sorted on the tail value.
The second input BAT is a list of candidates.
+
command algebra.sunique(b:bat[:any_1,:any_2]):bat[:any_1,:any_2]
address ALGsunique;
comment Select unique tuples from the input BAT. Double elimination is
done over BUNs as a whole (head and tail). Result is a BAT with
real set() semantics.
diff --git a/clients/Tests/MAL-signatures_gsl.stable.out
b/clients/Tests/MAL-signatures_gsl.stable.out
--- a/clients/Tests/MAL-signatures_gsl.stable.out
+++ b/clients/Tests/MAL-signatures_gsl.stable.out
@@ -138,31 +138,31 @@ command aggr.avg(b:bat[:oid,:bte],e:bat[
address AGGRavg12_dbl;
comment Grouped tail average on bte
-command aggr.avg(b:bat[:any_1,:dbl]):dbl
+command aggr.avg(b:bat[:oid,:dbl]):dbl
address ALGavg;
comment Gives the avg of all tail values
-command aggr.avg(b:bat[:any_1,:flt]):dbl
+command aggr.avg(b:bat[:oid,:flt]):dbl
address ALGavg;
comment Gives the avg of all tail values
-command aggr.avg(b:bat[:any_1,:lng]):dbl
+command aggr.avg(b:bat[:oid,:lng]):dbl
address ALGavg;
comment Gives the avg of all tail values
-command aggr.avg(b:bat[:any_1,:wrd]):dbl
+command aggr.avg(b:bat[:oid,:wrd]):dbl
address ALGavg;
comment Gives the avg of all tail values
-command aggr.avg(b:bat[:any_1,:int]):dbl
+command aggr.avg(b:bat[:oid,:int]):dbl
address ALGavg;
comment Gives the avg of all tail values
-command aggr.avg(b:bat[:any_1,:sht]):dbl
+command aggr.avg(b:bat[:oid,:sht]):dbl
address ALGavg;
comment Gives the avg of all tail values
-command aggr.avg(b:bat[:any_1,:bte]):dbl
+command aggr.avg(b:bat[:oid,:bte]):dbl
address ALGavg;
comment Gives the avg of all tail values
@@ -214,7 +214,7 @@ command aggr.count(b:bat[:oid,:any_1],e:
address AGGRcount2;
comment Grouped count
-command aggr.cardinality(b:bat[:any_1,:any_2]):lng
+command aggr.cardinality(b:bat[:oid,:any_2]):lng
address ALGcard;
comment Return the cardinality of the BAT tail values.
@@ -230,7 +230,7 @@ command aggr.count(b:bat[:any_1,:any]):w
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
+command aggr.exist(b:bat[:oid,:any_2],h:any_1):bit
address ALGexist;
command aggr.histogram(b:bat[:any_1,:any_2]):bat[:any_2,:int]
address ALGhistogram;
@@ -2130,59 +2130,59 @@ pattern aggr.sum(b:bat[:oid,:bte]):bte
address CMDBATsum;
comment Calculate aggregate sum of B.
-command aggr.stdevp(b:bat[:any_1,:dbl]):dbl
+command aggr.stdevp(b:bat[:oid,:dbl]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:dbl]):dbl
+command aggr.stdev(b:bat[:oid,:dbl]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
-command aggr.stdevp(b:bat[:any_1,:flt]):dbl
+command aggr.stdevp(b:bat[:oid,:flt]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:flt]):dbl
+command aggr.stdev(b:bat[:oid,:flt]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
-command aggr.stdevp(b:bat[:any_1,:lng]):dbl
+command aggr.stdevp(b:bat[:oid,:lng]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:lng]):dbl
+command aggr.stdev(b:bat[:oid,:lng]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
-command aggr.stdevp(b:bat[:any_1,:wrd]):dbl
+command aggr.stdevp(b:bat[:oid,:wrd]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:wrd]):dbl
+command aggr.stdev(b:bat[:oid,:wrd]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
-command aggr.stdevp(b:bat[:any_1,:int]):dbl
+command aggr.stdevp(b:bat[:oid,:int]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:int]):dbl
+command aggr.stdev(b:bat[:oid,:int]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
-command aggr.stdevp(b:bat[:any_1,:sht]):dbl
+command aggr.stdevp(b:bat[:oid,:sht]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:sht]):dbl
+command aggr.stdev(b:bat[:oid,:sht]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
-command aggr.stdevp(b:bat[:any_1,:bte]):dbl
+command aggr.stdevp(b:bat[:oid,:bte]):dbl
address ALGstdevp;
comment Gives the standard deviation of all tail values
-command aggr.stdev(b:bat[:any_1,:bte]):dbl
+command aggr.stdev(b:bat[:oid,:bte]):dbl
address ALGstdev;
comment Gives the standard deviation of all tail values
@@ -2298,59 +2298,59 @@ command aggr.variance(b:bat[:oid,:bte],e
address AGGRvariance2_dbl;
comment Grouped tail variance (sample/non-biased) on bte
-command aggr.variancep(b:bat[:any_1,:dbl]):dbl
+command aggr.variancep(b:bat[:oid,:dbl]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:dbl]):dbl
+command aggr.variance(b:bat[:oid,:dbl]):dbl
address ALGvariance;
comment Gives the variance of all tail values
-command aggr.variancep(b:bat[:any_1,:flt]):dbl
+command aggr.variancep(b:bat[:oid,:flt]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:flt]):dbl
+command aggr.variance(b:bat[:oid,:flt]):dbl
address ALGvariance;
comment Gives the variance of all tail values
-command aggr.variancep(b:bat[:any_1,:lng]):dbl
+command aggr.variancep(b:bat[:oid,:lng]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:lng]):dbl
+command aggr.variance(b:bat[:oid,:lng]):dbl
address ALGvariance;
comment Gives the variance of all tail values
-command aggr.variancep(b:bat[:any_1,:wrd]):dbl
+command aggr.variancep(b:bat[:oid,:wrd]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:wrd]):dbl
+command aggr.variance(b:bat[:oid,:wrd]):dbl
address ALGvariance;
comment Gives the variance of all tail values
-command aggr.variancep(b:bat[:any_1,:int]):dbl
+command aggr.variancep(b:bat[:oid,:int]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:int]):dbl
+command aggr.variance(b:bat[:oid,:int]):dbl
address ALGvariance;
comment Gives the variance of all tail values
-command aggr.variancep(b:bat[:any_1,:sht]):dbl
+command aggr.variancep(b:bat[:oid,:sht]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:sht]):dbl
+command aggr.variance(b:bat[:oid,:sht]):dbl
address ALGvariance;
comment Gives the variance of all tail values
-command aggr.variancep(b:bat[:any_1,:bte]):dbl
+command aggr.variancep(b:bat[:oid,:bte]):dbl
address ALGvariancep;
comment Gives the variance of all tail values
-command aggr.variance(b:bat[:any_1,:bte]):dbl
+command aggr.variance(b:bat[:oid,:bte]):dbl
address ALGvariance;
comment Gives the variance of all tail values
@@ -2396,17 +2396,9 @@ comment Returns physical copy of a BAT.
command
algebra.difference(left:bat[:any_1,:any_2],right:bat[:any_1,:any_2]):bat[:any_1,:any_2]
address ALGsdiff;
-command algebra.exist(b:bat[:any_1,:any_2],h:any_1,t:any_2):bit
-address ALGexistBUN;
-comment Returns true when 'h,t' occurs as a bun in b.
-
-command algebra.exist(b:bat[:any_1,:any_2],h:any_1):bit
+command algebra.exist(b:bat[:oid,:any_1],val:any_1):bit
address ALGexist;
-comment Returns whether 'h' occurs as a head value in b.
-
-command
algebra.fragment(b:bat[:any_1,:any_2],hlow:any_1,hhigh:any_1,tlow:any_2,thigh:any_2):bat[:any_1,:any_2]
-address ALGfragment;
-comment Select both on head and tail range.
+comment Returns whether 'val' occurs in b.
command algebra.fetch(b:bat[:any_2,:any_1],x:int):any_1
address ALGfetchint;
@@ -2501,7 +2493,7 @@ command algebra.leftjoin(left:bat[:any_1
address ALGleftjoinestimate;
command
algebra.leftjoin(left:bat[:any_1,:any_2],right:bat[:any_2,:any_3]):bat[:any_1,:any_3]
address ALGleftjoin;
-command algebra.like(b:bat[:any_1,:str],substr:str):bat[:any_1,:str]
+command algebra.like(b:bat[:oid,:str],substr:str):bat[:oid,:str]
address ALGlike;
comment Selects all elements that have 'substr' as in the tail.
@@ -2571,15 +2563,7 @@ command algebra.project(b:bat[:any_1,:an
address ALGprojectNIL;
comment Extract the head of a BAT.
-command algebra.position(b:bat[:any_1,:any_2],val:any_1,tval:any_2):wrd
-address ALGpositionBUN;
-comment Returns the position of the value pair It returns an error if 'val'
does not exist.
-
-command algebra.position(b:bat[:any_1,:any_2],v:any_1):wrd
-address ALGposition;
-comment Returns BAT position [0.. b.count] of 'v' in the head column of b. It
Return an error if 'v' does not exist.
-
-command algebra.reuse(b:bat[:any_1,:any_2]):bat[:any_1,:any_2]
+command algebra.reuse(b:bat[:oid,:any_2]):bat[:oid,:any_2]
address ALGreuse;
comment Reuse a temporary BAT if you can. Otherwise, allocate enough storage
to accept result of an operation (not involving the heap)
@@ -2623,6 +2607,14 @@ command algebra.sintersect(left:bat[:any
address ALGsintersect;
comment Returns the intersection taken over *both* columns of two BATs.
Results in all BUNs of 'left' that are also in 'right'. Does *not*
do double-elimination over the 'left' BUNs, If you want this, use:
'sintersect(sunique(left),sunique(right))' or:
'sunique(sintersect(left,right))'.
+command algebra.subunique(b:bat[:oid,:any_1]):bat[:oid,:oid]
+address ALGsubunique1;
+comment Select all unique values from the tail of the input. Input is a
dense-headed BAT, output is a dense-headed BAT with in the tail the head value
of the input BAT that was selected. The output BAT is sorted on the tail value.
+
+command algebra.subunique(b:bat[:oid,:any_1],s:bat[:oid,:oid]):bat[:oid,:oid]
+address ALGsubunique2;
+comment Select all unique values from the tail of the first input. Input
is a dense-headed BAT, the second input is a dense-headed BAT with sorted
tail, output is a dense-headed BAT with in the tail the head value of the
input BAT that was selected. The output BAT is sorted on the tail value.
The second input BAT is a list of candidates.
+
command algebra.sunique(b:bat[:any_1,:any_2]):bat[:any_1,:any_2]
address ALGsunique;
comment Select unique tuples from the input BAT. Double elimination is
done over BUNs as a whole (head and tail). Result is a BAT with
real set() semantics.
@@ -2889,7 +2881,7 @@ command array.project(b:bat[:oid,:any_1]
address ARRAYproject;
comment Fill an array representation with constants
-command
array.product(b:bat[:any_3,:any_1],c:bat[:any_4,:any_2]):bat[:any_1,:any_2]
+command array.product(b:bat[:oid,:any_1],c:bat[:oid,:any_2])
(X_3:bat[:oid,:any_1],c:bat[:oid,:any_2])
address ARRAYproduct;
comment Produce an array product
@@ -31784,11 +31776,11 @@ command bat.densebat(size:wrd):bat[:void
address BKCdensebat;
comment Creates a new [void,void] BAT of size 'size'.
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list