Navigation Menu

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

MERGE TABLE issue: Cannot register #6341

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

MERGE TABLE issue: Cannot register #6341

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working normal SQL

Comments

@monetdb-team
Copy link

Date: 2017-07-06 00:14:52 +0200
From: @joerivanruth
To: SQL devs <>
Version: -- development
CC: @njnes

Last updated: 2017-08-02 10:21:26 +0200

Comment 25419

Date: 2017-07-06 00:14:52 +0200
From: @joerivanruth

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Build Identifier:

This is the first report in a series of three issues found while
testing the Air Traffic queries. I'm filing separate reports because
the underlying cause may or may not be the same.

In this case, the attached queries cause the mserver5 to exit with
something like the following:

 (mapi:monetdb://monetdb@localhost/slave1) Cannot register A0 char(5,0),A1 date(0,0),A2 date(0,0)
 group by (
 project (
 select (
 table(atraf.ontime_slave1) [ "ontime_slave1"."Year" as "ontime"."Year", ...

I would expect an empty query result instead.

To reproduce, first start three mserver5's as in the attached
restart.sh. Then run demo.sh. This initializes the databases and
runs the failing queries.

Be careful: restart.sh first uses 'killall' to kill ALL existing
processes named 'mserver5'.

I tested this with Mercurial revision 6a7ff140ae05 on the Jul2017
branch.

Reproducible: Always

Comment 25420

Date: 2017-07-06 00:16:30 +0200
From: @joerivanruth

Created attachment 554
script to reproduce

Attached file: 6341.tar.gz (application/x-gzip, 2222 bytes)
Description: script to reproduce

Comment 25456

Date: 2017-07-13 08:57:51 +0200
From: MonetDB Mercurial Repository <>

Changeset 7bc1969a7552 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=7bc1969a7552

Changeset description:

fixes for bugs 6341, 6342 and 6343
For 6343 more is needed.

added missing sql_div definitions (for decimals)
added parsing of anti ( ! ) in rel dump
handle aliases with in the group by operator

pushed merge table rewrites down functions

Comment 25459

Date: 2017-07-13 09:01:04 +0200
From: @njnes

fixed by handling aliases in the group by

Comment 25536

Date: 2017-08-02 10:21:26 +0200
From: @sjoerdmullender

Fixed in Jul2017-SP1 release.

@monetdb-team monetdb-team added bug Something isn't working normal 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 normal SQL
Projects
None yet
Development

No branches or pull requests

2 participants