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

Surprising overload resolution of generate_series #3602

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

Surprising overload resolution of generate_series #3602

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

Comments

@monetdb-team
Copy link

Date: 2014-10-14 14:27:59 +0200
From: Richard Hughes <<richard.monetdb>>
To: SQL devs <>
Version: 11.17.21 (Jan2014-SP3)
CC: @njnes

Last updated: 2015-05-07 12:37:54 +0200

Comment 20289

Date: 2014-10-14 14:27:59 +0200
From: Richard Hughes <<richard.monetdb>>

Build is Oct2014 9d23c00aac8e

sql>select * from generate_series(1,128);
overflow in conversion of 128 to bte.

I expected that to work. The workaround is simple:

sql>select * from generate_series(cast(1 as int),128) limit 1;
+-------+
| value |
+=======+
| 1 |
+-------+

Since the workaround is so easy you could close this bug as invalid, but I'm probably not the only one who's going to be surprised.

Comment 20708

Date: 2015-03-11 17:07:34 +0100
From: @njnes

is fixed by an improvement to the function resolution

@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