Changeset: 6e3e5f0fc1b2 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6e3e5f0fc1b2 Modified Files: clients/Tests/MAL-signatures_all.stable.out clients/Tests/MAL-signatures_fits_geom.stable.out clients/Tests/MAL-signatures_geom.stable.out clients/Tests/MAL-signatures_none.stable.out monetdb5/modules/mal/sample.mal Branch: Oct2014 Log Message:
Added missing interface for sample.subuniform. diffs (66 lines): diff --git a/clients/Tests/MAL-signatures_all.stable.out b/clients/Tests/MAL-signatures_all.stable.out --- a/clients/Tests/MAL-signatures_all.stable.out +++ b/clients/Tests/MAL-signatures_all.stable.out @@ -41292,6 +41292,10 @@ pattern recycle.setCache(clines:int):voi address RECYCLEsetCache; comment Set recycler cache line parameter +command sample.subuniform(b:bat[:oid,:any],p:dbl):bat[:oid,:oid] +address SAMPLEuniform_dbl; +comment Returns the oids of a uniform sample of size = (p x count(b)), where 0 <= p <= 1.0 + command sample.subuniform(b:bat[:oid,:any],s:wrd):bat[:oid,:oid] address SAMPLEuniform; comment Returns the oids of a uniform sample of size s diff --git a/clients/Tests/MAL-signatures_fits_geom.stable.out b/clients/Tests/MAL-signatures_fits_geom.stable.out --- a/clients/Tests/MAL-signatures_fits_geom.stable.out +++ b/clients/Tests/MAL-signatures_fits_geom.stable.out @@ -41191,6 +41191,10 @@ pattern recycle.setCache(clines:int):voi address RECYCLEsetCache; comment Set recycler cache line parameter +command sample.subuniform(b:bat[:oid,:any],p:dbl):bat[:oid,:oid] +address SAMPLEuniform_dbl; +comment Returns the oids of a uniform sample of size = (p x count(b)), where 0 <= p <= 1.0 + command sample.subuniform(b:bat[:oid,:any],s:wrd):bat[:oid,:oid] address SAMPLEuniform; comment Returns the oids of a uniform sample of size s diff --git a/clients/Tests/MAL-signatures_geom.stable.out b/clients/Tests/MAL-signatures_geom.stable.out --- a/clients/Tests/MAL-signatures_geom.stable.out +++ b/clients/Tests/MAL-signatures_geom.stable.out @@ -41167,6 +41167,10 @@ pattern recycle.setCache(clines:int):voi address RECYCLEsetCache; comment Set recycler cache line parameter +command sample.subuniform(b:bat[:oid,:any],p:dbl):bat[:oid,:oid] +address SAMPLEuniform_dbl; +comment Returns the oids of a uniform sample of size = (p x count(b)), where 0 <= p <= 1.0 + command sample.subuniform(b:bat[:oid,:any],s:wrd):bat[:oid,:oid] address SAMPLEuniform; comment Returns the oids of a uniform sample of size s diff --git a/clients/Tests/MAL-signatures_none.stable.out b/clients/Tests/MAL-signatures_none.stable.out --- a/clients/Tests/MAL-signatures_none.stable.out +++ b/clients/Tests/MAL-signatures_none.stable.out @@ -40980,6 +40980,10 @@ pattern recycle.setCache(clines:int):voi address RECYCLEsetCache; comment Set recycler cache line parameter +command sample.subuniform(b:bat[:oid,:any],p:dbl):bat[:oid,:oid] +address SAMPLEuniform_dbl; +comment Returns the oids of a uniform sample of size = (p x count(b)), where 0 <= p <= 1.0 + command sample.subuniform(b:bat[:oid,:any],s:wrd):bat[:oid,:oid] address SAMPLEuniform; comment Returns the oids of a uniform sample of size s diff --git a/monetdb5/modules/mal/sample.mal b/monetdb5/modules/mal/sample.mal --- a/monetdb5/modules/mal/sample.mal +++ b/monetdb5/modules/mal/sample.mal @@ -35,3 +35,6 @@ command uniform(b:bat[:oid,:any],p:dbl): address SAMPLEuniform_dbl comment "Returns the oids of a uniform sample of size = (p x count(b)), where 0 <= p <= 1.0"; +command subuniform(b:bat[:oid,:any],p:dbl):bat[:oid,:oid] +address SAMPLEuniform_dbl +comment "Returns the oids of a uniform sample of size = (p x count(b)), where 0 <= p <= 1.0"; _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
