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
json
I tried to implement json but ran into issues, because there was no way to work with the fenl jsonobject type in python.
I tried accessing accessing properties of the object using col("name"), .name, and ["name"]. None worked.
col("name")
.name
["name"]
json().col("a") gives TypeError: Cannot access column 'a' of non-record type 'None'
json().col("a")
TypeError: Cannot access column 'a' of non-record type 'None'
a = json_str.json()["a"] gives TypeError: Cannot index into None
a = json_str.json()["a"]
TypeError: Cannot index into None
I also tried implementing json_field() instead, but only got back null for objects.
json_field()
null
We should figure out how to implement a json handler in the new code. Or maybe doing it with a UDF is sufficient for now.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to implement
json
but ran into issues, because there was no way to work with the fenljson
object type in python.I tried accessing accessing properties of the object using
col("name")
,.name
, and["name"]
. None worked.json().col("a")
givesTypeError: Cannot access column 'a' of non-record type 'None'
a = json_str.json()["a"]
givesTypeError: Cannot index into None
I also tried implementing
json_field()
instead, but only got backnull
for objects.We should figure out how to implement a
json
handler in the new code. Or maybe doing it with a UDF is sufficient for now.The text was updated successfully, but these errors were encountered: