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

Support standard 'locate' SQL function #3711

Closed
dfulachier opened this issue Nov 30, 2018 · 1 comment
Closed

Support standard 'locate' SQL function #3711

dfulachier opened this issue Nov 30, 2018 · 1 comment
Labels

Comments

@dfulachier
Copy link

ClickHouse proposes the 'position' function, and we can do with that.
But in some case (queries generated from a BI tool such as Tableau), we cannot master the SQL generated. So it may be fine to get the locate function, with both possible syntaxes:

  • locate(search, source)
  • locate(search, source, startPos)
@blinkov
Copy link
Contributor

blinkov commented Dec 7, 2018

Alias added in #3774, but position don't support startPos optional arg at the moment.

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

No branches or pull requests

3 participants