(incorrect) MAL loop instead of manifold triggered by simple change in target list #3955
Last updated: 2016-03-25 09:59:45 +0100
Date: 2016-03-15 15:08:00 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
This query was automatically generated, hence a bit verbose. I simplified it manually as much as I could:
-- START QUERY
create table input_double (a1 string, a2 double, prob double);
CREATE TABLE v(a1 int, a2 point, prob double);
CREATE VIEW p AS
CREATE VIEW r AS
explain select * from r;
As it is, this generates a MAL loop for the call sys.distance(point,point):
| barrier (X_98,X_99) := iterator.new(X_40);
Which means the loop is fetching integer values rather than point values.
$ mserver5 --version
Date: 2016-03-16 13:33:16 +0100
The merge_project rewriter, rewrote the projections incorrectly, ie it mapped the second argument of the distance call to the v.a1 value (an int). This caused all the problems you indicated. Ie function unknown -> no manifold. etc.
Date: 2016-03-16 14:14:36 +0100
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=eb4112071e54
Date: 2016-03-25 09:59:45 +0100
Jul2015-SP3 has been released.
The text was updated successfully, but these errors were encountered: