Skip to content

Typescript Arrowjs Class 'RecordBatch<T>' incorrectly extends base class 'StructVector<T>' #8812

Description

@vikashsingh009

I have imported arrowjs in typescript like

import { Table } from 'apache-arrow';

const arrow = readFileSync('simple.arrow');
const table = Table.from([arrow]);

but when i am building the project getting exception like

ERROR in node_modules/apache-arrow/ipc/reader.d.ts:236:5 - error TS2717: Subsequent property declarations must have the same type. Property 'schema' must be of type 'Schema', but here has type 'Schema'.

236     schema: Schema;
        ~~~~~~

  node_modules/apache-arrow/ipc/reader.d.ts:189:5
    189     schema: Schema<T>;
            ~~~~~~
    'schema' was also declared here.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions