You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is both verbose and (potentially) inefficient, given it extracts components from each column, only to recombine them.
Alternatives aren't that great; in the end, I was able to concat utc_date and utc_time as strings, and as_timestamp() that; alternatively, maybe it would work to construct an interval from utc_time and add that (again, timestamp math feels unnecessary for this).
I'm just trying to think how this would work in practice, and if backends actually implement this construction (don't think BigQuery does, for example).
Describe the solution you'd like
ibis.timestamp(utc_date, utc_time) # or ibis.timestamp.from_date_and_time(utc_date, utc_time) ?
What version of ibis are you running?
9.3.0ish
What backend(s) are you using, if any?
DuckDB
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
I am frustrated by the difficulty of creating a
timestamp
column, given adate
column and atime
column.What is the motivation behind your request?
I have two columns,
utc_date
andutc_time
. I want to create autc_timestamp
column. The most straightforward way seems to be to do:This is both verbose and (potentially) inefficient, given it extracts components from each column, only to recombine them.
Alternatives aren't that great; in the end, I was able to concat
utc_date
andutc_time
as strings, andas_timestamp()
that; alternatively, maybe it would work to construct an interval fromutc_time
and add that (again, timestamp math feels unnecessary for this).I'm just trying to think how this would work in practice, and if backends actually implement this construction (don't think BigQuery does, for example).
Describe the solution you'd like
What version of ibis are you running?
9.3.0ish
What backend(s) are you using, if any?
DuckDB
Code of Conduct
The text was updated successfully, but these errors were encountered: