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

to_timestamp(epoch) not supported yet #8901

Open
droidraja opened this issue Nov 2, 2024 · 0 comments
Open

to_timestamp(epoch) not supported yet #8901

droidraja opened this issue Nov 2, 2024 · 0 comments

Comments

@droidraja
Copy link

droidraja commented Nov 2, 2024

Failed SQL
select updated_at from orders where updated_at>to_timestamp(1730562810);

Logical Plan
[cubesql::compile::query_engine] Initial Plan: Projection: #orders.updated_at
Filter: #orders.updated_at > str_to_date(Int64(1730562810))
TableScan: orders projection=None

Version:
1.1.2

internally to_timestamp calls are converted to str_to_date function which does not take into account of to_timestamp(double)

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