You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "sdachen (via GitHub)" <gi...@apache.org> on 2023/06/24 22:45:47 UTC
[GitHub] [arrow] sdachen opened a new issue, #36279: DenseUnion example in documentation
sdachen opened a new issue, #36279:
URL: https://github.com/apache/arrow/issues/36279
### Describe the bug, including details regarding any error messages, version, and platform.
In the [documentation](https://arrow.apache.org/docs/format/Columnar.html), the DenseUnion example has 4 elements, 2 float, 1 null, and 1 integer.
In the `types` buffer, the null element is indicated as a float. In the float child array, there are 3 elements, 1.2, null, and 3.4, but the `Length` property says 2. Should it be 3 instead given the value buffer contains 12 bytes?
* Length: 4, Null count: 0
* Types buffer:
|Byte 0 | Byte 1 | Byte 2 | Byte 3 | Bytes 4-63 |
|---------|-------------|----------|----------|-------------|
| 0 | 0 | 0 | 1 | unspecified |
* Offset buffer:
|Bytes 0-3 | Bytes 4-7 | Bytes 8-11 | Bytes 12-15 | Bytes 16-63 |
|----------|-------------|------------|-------------|-------------|
| 0 | 1 | 2 | 0 | unspecified |
* Children arrays:
* Field-0 array (f: Float32):
* Length: 2, Null count: 1
* Validity bitmap buffer: 00000101
* Value Buffer:
| Bytes 0-11 | Bytes 12-63 |
|----------------|-------------|
| 1.2, null, 3.4 | unspecified |
* Field-1 array (i: Int32):
* Length: 1, Null count: 0
* Validity bitmap buffer: Not required
* Value Buffer:
| Bytes 0-3 | Bytes 4-63 |
|-----------|-------------|
| 5 | unspecified |
### Component(s)
Documentation
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] sdachen commented on issue #36279: [Docs][Format] DenseUnion example in documentation
Posted by "sdachen (via GitHub)" <gi...@apache.org>.
sdachen commented on issue #36279:
URL: https://github.com/apache/arrow/issues/36279#issuecomment-1605902392
Looks like it's already fixed - just need to refresh the docs. https://github.com/apache/arrow/commit/fe48403651e51e241802fef05984efc37f10a4fc
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou closed issue #36279: [Docs][Format] DenseUnion example in documentation
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #36279: [Docs][Format] DenseUnion example in documentation
URL: https://github.com/apache/arrow/issues/36279
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #36279: [Docs][Format] DenseUnion example in documentation
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #36279:
URL: https://github.com/apache/arrow/issues/36279#issuecomment-1605831884
Good catch! Could you open a pull request for this?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] kou commented on issue #36279: [Docs][Format] DenseUnion example in documentation
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #36279:
URL: https://github.com/apache/arrow/issues/36279#issuecomment-1605917563
OK. Then I close this as duplicated of #35887.
We can see the rendered document of the main branch at https://arrow.apache.org/docs/dev/
e.g.: https://arrow.apache.org/docs/dev/format/Columnar.html#union-layout
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org