MonetDB: Feb2013 - Make joinpath signatures specific

Stefan Manegold Stefan.Manegold at cwi.nl
Mon Dec 31 09:22:55 CET 2012


Martin,

this causes tests

monetdb5/optimizer/Tests/tst4300.mal
and
monetdb5/optimizer/Tests/tst4610.mal

to fail with

!TypeException:user.main[17]:'algebra.joinPath' undefined in: zz:any := algebra.joinPath(b:bat[:oid,:lng], cr:bat[:lng,:oid], d:bat[:oid,:lng])
and
!TypeException:user.main[9]:'algebra.joinPath' undefined in: r:any := algebra.joinPath(a:bat[:oid,:int], br:bat[:int,:oid], c:bat[:oid,:int])

Stefan

On Mon, Dec 31, 2012 at 04:55:02AM +0100, Martin Kersten wrote:
> Changeset: 9ac4a1b83d56 for MonetDB
> URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9ac4a1b83d56
> Modified Files:
> 	monetdb5/optimizer/optimizer.mal
> Branch: Feb2013
> Log Message:
> 
> Make joinpath signatures specific
> 
> 
> diffs (27 lines):
> 
> diff --git a/monetdb5/optimizer/optimizer.mal b/monetdb5/optimizer/optimizer.mal
> --- a/monetdb5/optimizer/optimizer.mal
> +++ b/monetdb5/optimizer/optimizer.mal
> @@ -280,19 +280,19 @@ pattern optimizer.joinPath(mod:str, fcn:
>  address OPTwrapper
>  comment "Join path constructor";
>  
> -pattern algebra.joinPath(l:bat[:any,:any]...):bat[:any,:any]
> +pattern algebra.joinPath(l:bat[:oid,:any]...):bat[:oid,:any]
>  address ALGjoinPath
>  comment "Routine to handle join paths.  The type analysis is rather tricky.";
>  
> -pattern algebra.leftjoinPath(l:bat[:any,:any]...):bat[:any,:any]
> +pattern algebra.leftjoinPath(l:bat[:oid,:any]...):bat[:oid,:any]
>  address ALGjoinPath
>  comment "Routine to handle join paths.  The type analysis is rather tricky.";
>  
> -pattern algebra.leftfetchjoinPath(l:bat[:any,:any]...):bat[:any,:any]
> +pattern algebra.leftfetchjoinPath(l:bat[:oid,:any]...):bat[:oid,:any]
>  address ALGjoinPath
>  comment "Routine to handle join paths.  The type analysis is rather tricky.";
>  
> -pattern algebra.semijoinPath(l:bat[:any,:any]...):bat[:any,:any]
> +pattern algebra.semijoinPath(l:bat[:oid,:any]...):bat[:oid,:any]
>  address ALGjoinPath
>  comment "Routine to handle join paths.  The type analysis is rather tricky.";
>  
> _______________________________________________
> checkin-list mailing list
> checkin-list at monetdb.org
> http://mail.monetdb.org/mailman/listinfo/checkin-list

-- 
| Stefan.Manegold @ CWI.nl | DB Architectures (INS1) |
| http://CWI.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam  (NL) |
_______________________________________________
developers-list mailing list
developers-list at monetdb.org
http://mail.monetdb.org/mailman/listinfo/developers-list



More information about the developers-list mailing list