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

feat(expr): support function date #12688

Closed
xiangjinwu opened this issue Oct 9, 2023 · 0 comments · Fixed by #12738
Closed

feat(expr): support function date #12688

xiangjinwu opened this issue Oct 9, 2023 · 0 comments · Fixed by #12738
Assignees
Milestone

Comments

@xiangjinwu
Copy link
Contributor

Is your feature request related to a problem? Please describe.

select date('2020-01-23');

Used by looker generated queries.
-- @jetjinser

Describe the solution you'd like

This is essentially the cast operation, but written as a function call. We can just bind this function to the existing operation.

Describe alternatives you've considered

In PostgreSQL, all proname from pg_proc are exposed as user-callable, which include internal names like int2 for casting to smallint and int48gt for int > bigint. We do not intend to support all such function names all together, unless required to integrate with an existing PostgreSQL tool.

Additional context

No response

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

Successfully merging a pull request may close this issue.

2 participants