[
https://issues.apache.org/jira/browse/ARROW-4728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-4728:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/21250
> [JS] Failing test Table#assign with a zero-length Null column round-trips
> through serialization
> -----------------------------------------------------------------------------------------------
>
> Key: ARROW-4728
> URL: https://issues.apache.org/jira/browse/ARROW-4728
> Project: Apache Arrow
> Issue Type: Bug
> Components: JavaScript
> Affects Versions: 0.12.1
> Reporter: Francois Saint-Jacques
> Assignee: Paul Taylor
> Priority: Major
> Labels: ci-failure, pull-request-available, travis-ci
> Fix For: JS-0.4.1, 0.13.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> See https://travis-ci.org/apache/arrow/jobs/500383002#L1022
> {code:javascript}
> ● Table#serialize() › Table#assign with an empty table round-trips through
> serialization
> expect(received).toBe(expected) // Object.is equality
> Expected: 86
> Received: 41
> 91 | const source = table1.assign(Table.empty());
> 92 | expect(source.numCols).toBe(table1.numCols);
> > 93 | expect(source.length).toBe(table1.length);
> | ^
> 94 | const result = Table.from(source.serialize());
> 95 | expect(result).toEqualTable(source);
> 96 |
> expect(result.schema.metadata.get('foo')).toEqual('bar');
> at Object.test (test/unit/table/serialize-tests.ts:93:35)
> ● Table#serialize() › Table#assign with a zero-length Null column
> round-trips through serialization
> expect(received).toBe(expected) // Object.is equality
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)