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

lower_bin should return Instant type #2303

Closed
hythloda opened this issue Apr 20, 2022 · 1 comment
Closed

lower_bin should return Instant type #2303

hythloda opened this issue Apr 20, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hythloda
Copy link
Contributor

hythloda commented Apr 20, 2022

Should be fixed by a solution to #2306

Description

lower_bin returns a string and not a DateTime

Steps to reproduce

On edge using:

from deephaven.time import lower_bin


from deephaven import time_table
minute_in_nanos = 60 * 1000 * 1000 * 1000

source = time_table('00:00:01')\
    .update_view( ['received_at_minute = lower_bin(Timestamp, minute_in_nanos)'] )

Expected results

Expected new column to be a DateTime value without the extra casting
image

Actual results

Without casting it explicitly as a DateTime the column is a string.

image

**Additional details and attachments**

If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.

Versions

  • Deephaven: ...
  • OS: ...
  • Browser: ...
  • Docker: ...
@hythloda hythloda added bug Something isn't working triage labels Apr 20, 2022
hythloda added a commit that referenced this issue Apr 20, 2022
Added issue about lower_bin returning string and not DateTime
#2303
hythloda added a commit that referenced this issue Apr 22, 2022
* update sript for v2 python

* Update demo.py

Added issue about lower_bin returning string and not DateTime
#2303

* Update demo.py

* Update debezium/scripts/demo.py

* Update demo.py
@jmao-denver jmao-denver self-assigned this Jun 16, 2023
@jmao-denver jmao-denver changed the title lower_bin lower_bin should return Instant type Jun 16, 2023
@jmao-denver
Copy link
Contributor

the usage is no longer supported by changes in #4388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants