You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "fallintoplace (via GitHub)" <gi...@apache.org> on 2026/07/23 00:49:20 UTC

[PR] fix(arrow/array): support tables without columns [arrow-go]

fallintoplace opened a new pull request, #988:
URL: https://github.com/apache/arrow-go/pull/988

   NewTableFromSlice no longer indexes the first column when given an empty schema. NewTableFromRecords now sums the logical record row counts so zero-column record batches keep their rows in the resulting table.\n\nTests:\n- go test ./arrow/array


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


Re: [PR] fix(arrow/array): support zero-column tables [arrow-go]

Posted by "fallintoplace (via GitHub)" <gi...@apache.org>.
fallintoplace commented on PR #988:
URL: https://github.com/apache/arrow-go/pull/988#issuecomment-5060898407

   The concrete case is projecting or removing all columns while retaining row cardinality. Arrow models the record batch length independently from its fields, so a zero-column batch can still represent N rows. Arrow Go already supports constructing, filtering, serializing, and reading those batches.


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


Re: [PR] fix(arrow/array): support zero-column tables [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on PR #988:
URL: https://github.com/apache/arrow-go/pull/988#issuecomment-5060400537

   Under what scenario would we have zero-fields but a non-zero logical row count? That doesn't make sense to me


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


Re: [PR] fix(arrow/array): support zero-column tables [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade merged PR #988:
URL: https://github.com/apache/arrow-go/pull/988


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