jorisvandenbossche commented on code in PR #117:
URL: https://github.com/apache/arrow-nanoarrow/pull/117#discussion_r1231433082


##########
python/nanoarrow/_lib.pyx:
##########
@@ -526,23 +546,28 @@ cdef class ArrayView:
 
     @property
     def dictionary(self):
-        return ArrayView(self, <uintptr_t>self._ptr.dictionary, 
self._array.dictionary)
-
-    @property
-    def array(self):
-        return self._array
+        if self._ptr.dictionary == NULL:
+            return None
+        else:
+            return ArrayView(
+                self,
+                <uintptr_t>self._ptr.dictionary,
+                self._schema.dictionary,
+                None

Review Comment:
   Why is this None in this case?



-- 
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]

Reply via email to