You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Typescript is generating an overly broad type for the typeId property of the ChunkedVector class, leading to a type mismatch and failure to infer Column is Vector:
let col: Vector<Utf8>;
col =new Chunked(new Utf8());
^
/*Argument of type 'Chunked<Utf8>' is not assignable to parameter of type 'Vector<Utf8>'. Type 'Chunked<Utf8>' is not assignable to type 'Vector<Utf8>'. Types of property 'typeId' are incompatible. Type 'Type' is not assignable to type 'Type.Utf8'.*/
The fix is to add an explicit return annotation to the Chunked typeId getter.
Typescript is generating an overly broad type for the
typeId
property of the ChunkedVector class, leading to a type mismatch and failure to infer Column is Vector:The fix is to add an explicit return annotation to the Chunked typeId getter.
Reporter: Paul Taylor / @trxcllnt
Assignee: Paul Taylor / @trxcllnt
PRs and other links:
Note: This issue was originally created as ARROW-4442. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: