You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/03/26 14:44:39 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #3952: RecordBatch From StructArray Silently Discards Nulls

tustvold opened a new issue, #3952:
URL: https://github.com/apache/arrow-rs/issues/3952

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   ```
   #[test]
   fn test_from_struct() {
       let s = StructArray::from(ArrayData::new_null(
           &DataType::Struct(vec![Field::new("foo", DataType::Int32, false)]),
           2,
       ));
   
       let batch = RecordBatch::from(&s);
       assert_eq!(batch.column(0).null_count(), 2);
   }
   ```
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   The above should fail
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] alamb closed issue #3952: RecordBatch From StructArray Silently Discards Nulls

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #3952: RecordBatch From StructArray Silently Discards Nulls
URL: https://github.com/apache/arrow-rs/issues/3952


-- 
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-rs] SinanGncgl commented on issue #3952: RecordBatch From StructArray Silently Discards Nulls

Posted by "SinanGncgl (via GitHub)" <gi...@apache.org>.
SinanGncgl commented on issue #3952:
URL: https://github.com/apache/arrow-rs/issues/3952#issuecomment-1488752755

   Hi, do we expect a failure something like =>  `left = 0` and `right = 2` `assertion failed: (left == right)` so should we expect an empty batch from `RecordBatch::from`? Could you please elaborate more so that maybe I can take it? Thanks for your time and answer in advance.


-- 
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-rs] tustvold commented on issue #3952: RecordBatch From StructArray Silently Discards Nulls

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3952:
URL: https://github.com/apache/arrow-rs/issues/3952#issuecomment-1488755499

   There is already a PR to fix this, I just accidentally linked the wrong issue :sweat_smile: 
   


-- 
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-rs] tustvold commented on issue #3952: RecordBatch From StructArray Silently Discards Nulls

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3952:
URL: https://github.com/apache/arrow-rs/issues/3952#issuecomment-1500235750

   `label_issue.py` automatically added labels {'arrow'} from #3953


-- 
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-rs] tustvold commented on issue #3952: RecordBatch From StructArray Silently Discards Nulls

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #3952:
URL: https://github.com/apache/arrow-rs/issues/3952#issuecomment-1500235726

   `label_issue.py` automatically added labels {'parquet'} from #3953


-- 
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-rs] SinanGncgl commented on issue #3952: RecordBatch From StructArray Silently Discards Nulls

Posted by "SinanGncgl (via GitHub)" <gi...@apache.org>.
SinanGncgl commented on issue #3952:
URL: https://github.com/apache/arrow-rs/issues/3952#issuecomment-1488757930

   > There is already a PR to fix this, I just accidentally linked the wrong issue sweat_smile
   
   Ah okay, thank you for your swift response :smiley:


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