mapleFU commented on issue #40324:
URL: https://github.com/apache/arrow/issues/40324#issuecomment-1976450590

   Hmm this can be a workaround🤔 I'm not familiar with Python, the list is 
defined as below:
   
   ```c++
   class ARROW_EXPORT ListType : public BaseListType {
    public:
     static constexpr Type::type type_id = Type::LIST;
     using offset_type = int32_t;
   
     static constexpr const char* type_name() { return "list"; }
   
     // List can contain any other logical value type
     explicit ListType(const std::shared_ptr<DataType>& value_type)
         : ListType(std::make_shared<Field>("item", value_type)) {}
   ```
   
   It contains a `Field` here, so I think it's ok, but I agree it's a bit weird 
for user. But actually I'm not familiar with how to create in convinient... 
Maybe other can help


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