Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlitelogictest select coalesce undefined calc #6570

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Sqlitelogictest select coalesce undefined calc #6570

monetdb-team opened this issue Nov 30, 2020 · 0 comments

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2018-04-04 17:13:20 +0200
From: @PedroTadim
To: SQL devs <>
Version: -- development
CC: @njnes

Last updated: 2018-06-20 11:02:15 +0200

Comment 26340

Date: 2018-04-04 17:13:20 +0200
From: @PedroTadim

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Build Identifier:

The query bellow generates a MAL exception.

Reproducible: Always

Steps to Reproduce:

  1. SELECT ALL 37 * + COALESCE ( - 65, 81 ) * - 36 / + - 36 AS col1;

Actual Results:

Semantic errors TypeException:user.update[21]:'calc.' undefined in: X_558:sht := calc.(X_555:bte, X_557:int);

Expected Results:

-2405

Comment 26343

Date: 2018-04-04 17:16:21 +0200
From: MonetDB Mercurial Repository <>

Changeset 44290b405a9f made by Pedro Ferreira pedro.ferreira@monetdbsolutions.com in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=44290b405a9f

Changeset description:

Added tests for bugs 6568, 6569 and 6570

Comment 26351

Date: 2018-04-08 14:22:40 +0200
From: MonetDB Mercurial Repository <>

Changeset ad3e7db083e1 made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=ad3e7db083e1

Changeset description:

fixes for bug #6570, ie properly lookup the sql_mul function (and
return type) after rewriting math expressions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant