We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
multiply(long, java.time.Duration)
This code block:
time_ops = empty_table(10).update( [ "BaseTime = '2021-07-11T12:00:00.000Z'", "Timestamp = BaseTime + (ii * 'PT1h')" ] )
Fails because multiply(long, java.time.Duration) is not implemented. There are a couple of alternatives:
time_ops = empty_table(10).update( [ "BaseTime = '2021-07-11T12:00:00.000Z'", "Timestamp = BaseTime + 'PT1h'.multipliedBy(ii)" ] )
or
time_ops = empty_table(10).update( [ "BaseTime = '2021-07-11T12:00:00.000Z'", "Timestamp = BaseTime + (ii * HOUR)" ] )
However, I think supporting multiply(long, java.time.Duration) is reasonable and well-defined.
The text was updated successfully, but these errors were encountered:
The same problem exists for both Period and Duration.
Period
Duration
from deephaven import empty_table t2 = empty_table(10).update(["P = 'P2D'", "D = 'PT2h'"]) t3 = t2.update("P2=P*2") t4 = t2.update("D2 = D*2")
Sorry, something went wrong.
4fe94db
chipkent
Successfully merging a pull request may close this issue.
This code block:
Fails because
multiply(long, java.time.Duration)
is not implemented. There are a couple of alternatives:or
However, I think supporting
multiply(long, java.time.Duration)
is reasonable and well-defined.The text was updated successfully, but these errors were encountered: