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

Add support for ordering by aliased column #41

Open
chtenb opened this issue May 5, 2023 · 0 comments
Open

Add support for ordering by aliased column #41

chtenb opened this issue May 5, 2023 · 0 comments

Comments

@chtenb
Copy link

chtenb commented May 5, 2023

In the following query

select a.col1, a.col2, string_overlap(a.col1, a.col2) as overlap order by string_overlap(a.col1, a.col2) desc

I would like to say order by overlap desc instead of repeating the function call. However, that does not seem to be supported. string_overlap is a custom python function here.

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