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
For example:
from deephaven import new_table from deephaven.column import float_col from deephaven.constants import NULL_FLOAT # <-- IF I IMPORT THIS IT WONT WORK, OTHERWISE IT DOES my_table = ( new_table([float_col("MyFloat", [0, 1, 2, 3])]) .update(["MyFloat = (MyFloat == 0) ? null : MyFloat"]) )
To work around, import the constant with a rename:
from deephaven.constants import NULL_FLOAT as DH_NULL_FLOAT
Fails due to the conversion of null to NULL_FLOAT within the QLP and now NULL_FLOAT is resolving as a query scope variable (which it should never do).
null
NULL_FLOAT
You can also trip it up with a variable such as NULL_FLOAT = "a".
NULL_FLOAT = "a"
I would expect the QLP to never resolve the special NULL values as variables.
The text was updated successfully, but these errors were encountered:
nbauernfeind
No branches or pull requests
For example:
To work around, import the constant with a rename:
Fails due to the conversion of
null
toNULL_FLOAT
within the QLP and now NULL_FLOAT is resolving as a query scope variable (which it should never do).You can also trip it up with a variable such as
NULL_FLOAT = "a"
.I would expect the QLP to never resolve the special NULL values as variables.
The text was updated successfully, but these errors were encountered: