jorisvandenbossche commented on a change in pull request #11457:
URL: https://github.com/apache/arrow/pull/11457#discussion_r731571317
##########
File path: python/pyarrow/table.pxi
##########
@@ -571,6 +571,10 @@ cdef _schema_from_arrays(arrays, names, metadata,
shared_ptr[CSchema]* schema):
if metadata is not None:
c_meta = KeyValueMetadata(metadata).unwrap()
+ if len(names) != K:
Review comment:
The reason for the error on CI is because now `pa.table([])` is failing
(I think because in that case ``names=None``, and then `len(names)` doesn't
work)
--
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]