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
Labels
bug Something isn't working minor SQL

Comments

@monetdb-team
Copy link

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
@monetdb-team monetdb-team added bug Something isn't working minor SQL labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor SQL
Projects
None yet
Development

No branches or pull requests

2 participants