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

Parentheses around a Python UDF call render the result as a String #4036

Closed
cpwright opened this issue Jun 20, 2023 · 0 comments · Fixed by #4038
Closed

Parentheses around a Python UDF call render the result as a String #4036

cpwright opened this issue Jun 20, 2023 · 0 comments · Fixed by #4038
Assignees
Labels
bug Something isn't working core Core development tasks python python-server-side
Milestone

Comments

@cpwright
Copy link
Contributor

Description

import numpy as np

def sinc(x) -> np.double:
    return np.sinc(x)

sinc_function = empty_table(100).update(["X = 0.1 * i", "SincX = sinc(X)", "SincXS=(sinc(X))"])```

![image](https://github.com/deephaven/deephaven-core/assets/29706529/b5aad5e9-a1af-4abe-92fe-9f03edaf3cdc)

**Expected results**

The parenthesis do not change the return type.

**Actual results**

The UI shows it as a string.

**Versions**
 - Deephaven: 0.25.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Core development tasks python python-server-side
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants