Changeset: 3ccd5877287f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3ccd5877287f
Modified Files:
monetdb5/modules/kernel/algebra.mal
Branch: default
Log Message:
Instructions that are still blocking
They are sometimes used in the SQL code generation or
support function and thus cannot be removed yet.
diffs (49 lines):
diff --git a/monetdb5/modules/kernel/algebra.mal
b/monetdb5/modules/kernel/algebra.mal
--- a/monetdb5/modules/kernel/algebra.mal
+++ b/monetdb5/modules/kernel/algebra.mal
@@ -328,6 +328,7 @@ comment "Returns the intersection taken
If you want this, use:
'kintersect(kunique(left),kunique(right))'
or: 'kunique(kintersect(left,right))'.";
+# to be removed, still a bridge to far, code is generated/used in SQL
command kintersect( left:bat[:any_1,:any_2], right:bat[:any_1,:any] )
:bat[:any_1,:any_2]
address ALGsemijoin
@@ -339,8 +340,6 @@ comment "Returns the intersection taken
command tintersect( left:bat[:any_1,:any_2], right:bat[:any_1,:any] )
:bat[:any_1,:any_2]
address ALGtintersect;
-command tinter( left:bat[:oid,:oid], right:bat[:oid,:oid] ) :bat[:oid,:oid]
-address ALGtinter;
# Head-differing elements
command kdifference ( left:bat[:any_1,:any_2], right:bat[:any_1,:any] )
@@ -355,8 +354,6 @@ comment "Returns the difference taken ov
command tdifference ( left:bat[:any_1,:any_2], right:bat[:any_1,:any] )
:bat[:any_1,:any_2]
address ALGtdifference;
-command tdiff( left:bat[:oid,:oid], right:bat[:oid,:oid] ) :bat[:oid,:oid]
-address ALGtdiff;
# Union on head
command kunion ( left:bat[:any_1,:any_2], right:bat[:any_1,:any_2])
:bat[:any_1,:any_2]
@@ -364,11 +361,18 @@ address ALGkunion
comment "Returns the union of two BATs; looking at head-columns only.
Results in all BUNs of 'left' that are not in 'right', plus
all BUNs of 'right'. *no* double-elimination is done.";
+#end of removal plans
+
+command tinter( left:bat[:oid,:oid], right:bat[:oid,:oid] ) :bat[:oid,:oid]
+address ALGtinter;
+
+command tdiff( left:bat[:oid,:oid], right:bat[:oid,:oid] ) :bat[:oid,:oid]
+address ALGtdiff;
+
command tunion ( left:bat[:any_1,:any_2], right:bat[:any_1,:any_2])
:bat[:any_1,:any_2]
address ALGtunion;
-
# @+ Join operations
# The core of every relational engine.
# The join collection provided by the GDK kernel.
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list