-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
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
[Python] Allow passing in the Type for the MapArray.from_arrays
#39515
Comments
Fokko
changed the title
Allow passing in the Type for the
[PYTHON] Allow passing in the Type for the Jan 8, 2024
MapArray.from_arrays
MapArray.from_arrays
Fokko
added a commit
to Fokko/arrow
that referenced
this issue
Jan 8, 2024
Fokko
added a commit
to Fokko/arrow
that referenced
this issue
Jan 8, 2024
Fokko
added a commit
to Fokko/arrow
that referenced
this issue
Jan 8, 2024
kou
changed the title
[PYTHON] Allow passing in the Type for the
[Python] Allow passing in the Type for the Jan 9, 2024
MapArray.from_arrays
MapArray.from_arrays
AlenkaF
pushed a commit
that referenced
this issue
Jan 10, 2024
### Rationale for this change For Iceberg we want to add metadata type the type (the field-id), therefore we need to pass in the type analog to what we do for `ListArray.from_arrays(self, offsets, values, DataType type=None, MemoryPool pool=None, mask=None)`. ### What changes are included in this PR? Updated a keyword argument for the `type`, and make sure that the the static method to create the MapType is exposed from the cpp side. ### Are these changes tested? I've added a simple test. ### Are there any user-facing changes? * Closes: #39515 Authored-by: Fokko Driesprong <[email protected]> Signed-off-by: AlenkaF <[email protected]>
raulcd
pushed a commit
that referenced
this issue
Jan 12, 2024
### Rationale for this change For Iceberg we want to add metadata type the type (the field-id), therefore we need to pass in the type analog to what we do for `ListArray.from_arrays(self, offsets, values, DataType type=None, MemoryPool pool=None, mask=None)`. ### What changes are included in this PR? Updated a keyword argument for the `type`, and make sure that the the static method to create the MapType is exposed from the cpp side. ### Are these changes tested? I've added a simple test. ### Are there any user-facing changes? * Closes: #39515 Authored-by: Fokko Driesprong <[email protected]> Signed-off-by: AlenkaF <[email protected]>
clayburn
pushed a commit
to clayburn/arrow
that referenced
this issue
Jan 23, 2024
…e#39516) ### Rationale for this change For Iceberg we want to add metadata type the type (the field-id), therefore we need to pass in the type analog to what we do for `ListArray.from_arrays(self, offsets, values, DataType type=None, MemoryPool pool=None, mask=None)`. ### What changes are included in this PR? Updated a keyword argument for the `type`, and make sure that the the static method to create the MapType is exposed from the cpp side. ### Are these changes tested? I've added a simple test. ### Are there any user-facing changes? * Closes: apache#39515 Authored-by: Fokko Driesprong <[email protected]> Signed-off-by: AlenkaF <[email protected]>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…e#39516) ### Rationale for this change For Iceberg we want to add metadata type the type (the field-id), therefore we need to pass in the type analog to what we do for `ListArray.from_arrays(self, offsets, values, DataType type=None, MemoryPool pool=None, mask=None)`. ### What changes are included in this PR? Updated a keyword argument for the `type`, and make sure that the the static method to create the MapType is exposed from the cpp side. ### Are these changes tested? I've added a simple test. ### Are there any user-facing changes? * Closes: apache#39515 Authored-by: Fokko Driesprong <[email protected]> Signed-off-by: AlenkaF <[email protected]>
zanmato1984
pushed a commit
to zanmato1984/arrow
that referenced
this issue
Feb 28, 2024
…e#39516) ### Rationale for this change For Iceberg we want to add metadata type the type (the field-id), therefore we need to pass in the type analog to what we do for `ListArray.from_arrays(self, offsets, values, DataType type=None, MemoryPool pool=None, mask=None)`. ### What changes are included in this PR? Updated a keyword argument for the `type`, and make sure that the the static method to create the MapType is exposed from the cpp side. ### Are these changes tested? I've added a simple test. ### Are there any user-facing changes? * Closes: apache#39515 Authored-by: Fokko Driesprong <[email protected]> Signed-off-by: AlenkaF <[email protected]>
thisisnic
pushed a commit
to thisisnic/arrow
that referenced
this issue
Mar 8, 2024
…e#39516) ### Rationale for this change For Iceberg we want to add metadata type the type (the field-id), therefore we need to pass in the type analog to what we do for `ListArray.from_arrays(self, offsets, values, DataType type=None, MemoryPool pool=None, mask=None)`. ### What changes are included in this PR? Updated a keyword argument for the `type`, and make sure that the the static method to create the MapType is exposed from the cpp side. ### Are these changes tested? I've added a simple test. ### Are there any user-facing changes? * Closes: apache#39515 Authored-by: Fokko Driesprong <[email protected]> Signed-off-by: AlenkaF <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
Similar to
ListArray.from_arrays(self, offsets, values, DataType_type=None, MemoryPool_pool=None, mask=None)
Component(s)
Python
The text was updated successfully, but these errors were encountered: