[Monetdb-developers] MonetDB: sciql - rel_select.c, rel_arraytiling(): we do not (yet...

Ying Zhang Y.Zhang at cwi.nl
Thu Feb 23 11:40:45 CET 2012


On Thu, Feb 23, 2012 at 11:06:55AM +0100, Stefan Manegold wrote:
> Changeset: 869144f7d945 for MonetDB
> URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=869144f7d945
> Modified Files:
> 	sql/server/rel_select.c
> Branch: sciql
> Log Message:
> 
> rel_select.c, rel_arraytiling(): we do not (yet?) support tiling on subset of dimensions

No, it's not yet supported.

> 
> 
> diffs (12 lines):
> 
> diff --git a/sql/server/rel_select.c b/sql/server/rel_select.c
> --- a/sql/server/rel_select.c
> +++ b/sql/server/rel_select.c
> @@ -1910,6 +1910,8 @@ rel_arraytiling(mvc *sql, sql_rel **rel,
>  	idx_exps = tile_def->data.lval->h->next->data.lval;
>  	if (dlist_length(idx_exps) > a->ndims)
>  		return sql_error(sql, 02, "SELECT: #dimensions (%d) in array tiling larger than #dimensions (%d) in the array", dlist_length(idx_exps), a->ndims);
> +	if (dlist_length(idx_exps) < a->ndims)
> +		return sql_error(sql, 02, "SELECT: #dimensions (%d) in array tiling fewer than #dimensions (%d) in the array --- not supported (yet?)", dlist_length(idx_exps), a->ndims);
>  	if (dlist_length(idx_exps) > ARRAY_TILING_MAX_DIMS)
>  		return sql_error(sql, 02, "SELECT: TODO: array tiling over >%d dimensions", ARRAY_TILING_MAX_DIMS);
>  	for (n = idx_exps->h; n; n = n->next) {
> _______________________________________________
> Checkin-list mailing list
> Checkin-list at monetdb.org
> http://mail.monetdb.org/mailman/listinfo/checkin-list




More information about the developers-list mailing list