rok commented on code in PR #44070:
URL: https://github.com/apache/arrow/pull/44070#discussion_r1773280137
##########
python/pyarrow/scalar.pxi:
##########
@@ -1044,6 +1044,15 @@ cdef class ExtensionScalar(Scalar):
return pyarrow_wrap_scalar(<shared_ptr[CScalar]> sp_scalar)
+class JsonScalar(ExtensionScalar):
+ """
+ Concrete class for JSON extension scalar.
+ """
+
+ def as_py(self):
+ return None if self.value is None else self.value.as_py()
Review Comment:
It is not. Removed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]