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

Regression parsing array slice expressions (foo[1:2]) in 0.46 #1283

Closed
alamb opened this issue May 22, 2024 · 1 comment
Closed

Regression parsing array slice expressions (foo[1:2]) in 0.46 #1283

alamb opened this issue May 22, 2024 · 1 comment

Comments

@alamb
Copy link
Contributor

alamb commented May 22, 2024

As reported by @tisonkun in #1215 (comment)

This query ran in version 0.45.0

select make_array(1, 2, 3)[1:2], make_array(1.0, 2.0, 3.0)[2:3], make_array('h', 'e', 'l', 'l', 'o')[2:4];

The query fails in version 0.46.0

External error: query failed: DataFusion error: SQL error: ParserError("Expected variant object key name, found: 2")

It appears to have been introduced in #1215

@jmhain 's analysis is #1215 (comment)

@alamb
Copy link
Contributor Author

alamb commented Jun 18, 2024

This was fixed in 0.47: #1290

@alamb alamb closed this as completed Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant