Changeset: d3a3ad91dbab for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d3a3ad91dbab
Modified Files:
        sql/backends/monet5/BDCC/Makefile.ag
        sql/backends/monet5/BDCC/bdcc.mal
Branch: BDCC
Log Message:

BDCC bin join can now be done as in select * from l, r where [l.c, lmask] 
xtrrevjoin [r.d, rmask] using the MAL function bdcc.xtrrevjoin.


diffs (36 lines):

diff --git a/sql/backends/monet5/BDCC/Makefile.ag 
b/sql/backends/monet5/BDCC/Makefile.ag
--- a/sql/backends/monet5/BDCC/Makefile.ag
+++ b/sql/backends/monet5/BDCC/Makefile.ag
@@ -41,7 +41,7 @@ lib__bdcc = {
 headers_mal = {
        HEADERS = mal
        DIR = libdir/monetdb5
-       SOURCES = bdcc.mal
+       SOURCES = bdcc.mal gs.mal
 }
 
 # headers_sql = {
@@ -53,7 +53,7 @@ headers_mal = {
 headers_autoload = {
        HEADERS = mal
        DIR = libdir/monetdb5/autoload
-       SOURCES = 82_bdcc.mal
+       SOURCES = 82_bdcc.mal 83_gs.mal
 }
 
 # EXTRA_DIST_DIR = Tests
diff --git a/sql/backends/monet5/BDCC/bdcc.mal 
b/sql/backends/monet5/BDCC/bdcc.mal
--- a/sql/backends/monet5/BDCC/bdcc.mal
+++ b/sql/backends/monet5/BDCC/bdcc.mal
@@ -3,9 +3,9 @@ module bdcc;
 command xtrRev(b:bat[:oid,:int], mask:int):bat[:oid,:int]
 address BDCCxtrRev;
 
-function xtrJoin(x:bat[:oid,:int], y:bat[:oid,:int], xM:int, yM:int) 
(l:bat[:oid,:oid],r:bat[:oid,:oid]);
+function xtrrevjoin(x:bat[:oid,:int], xM:int, y:bat[:oid,:int], yM:int) 
(l:bat[:oid,:oid],r:bat[:oid,:oid]);
     xRev := xtrRev(x, xM);
     yRev := xtrRev(y, yM);
     (l, r) := algebra.join(xRev, yRev);
     return (l, r);
-end xtrJoin;
+end xtrrevjoin;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to