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

TPC-H Query 21 #173

Closed
alamb opened this issue Apr 26, 2021 · 2 comments
Closed

TPC-H Query 21 #173

alamb opened this issue Apr 26, 2021 · 2 comments
Labels
datafusion Changes in the datafusion crate

Comments

@alamb
Copy link
Contributor

alamb commented Apr 26, 2021

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11535

Fails with error:

Compound identifier not supported: "Unsupported compound identifier '["l1", "l_suppkey"]

@alamb alamb added the datafusion Changes in the datafusion crate label Apr 26, 2021
@alamb
Copy link
Contributor Author

alamb commented Apr 26, 2021

Comment from Mike Seddon(MikeSeddonAU) @ 2021-02-08T21:20:20.128+0000:

This has been added in https://github.com/apache/arrow/pull/9243 but will require a change like:

substring(c_phone from 1 for 2) 
to
substr(c_phone, 1, 2)

Comment from Daniël Heres(Dandandan) @ 2021-02-08T21:29:24.069+0000:

Very good [~MikeSeddonAU]! I plan to release sqlparser with support for parsing the syntax here: https://github.com/ballista-compute/sqlparser-rs/pull/293 and upgrading DataFusion to use a newer version

Comment from Mike Seddon(MikeSeddonAU) @ 2021-02-08T21:35:38.374+0000:

Great. I will need to get my head around the sqlparser so the rest of the strange ANSI syntax can be implemented like this: 

overlay('Txxxxas' placing 'hom' from 2 for 4)

@Dandandan
Copy link
Contributor

Dandandan commented Aug 23, 2021

Duplicate #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

No branches or pull requests

2 participants