Skip to content

A view over a file source throws Data source number 0 in undefined #3144

Backlog

Description

@mathiasrw
// f.csv holds the lines a,b and 1,2 and 3,4
alasql("CREATE VIEW vf AS SELECT * FROM CSV('f.csv', {headers: true})");
await alasql.promise('SELECT * FROM vf');

It rejects with Error: Data source number 0 in undefined.

It should give [{a: 1, b: 2}, {a: 3, b: 4}], as the SELECT of the view does on its own.

Fixed by #3164.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions