Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(node): Creating table when passing data as object property throws #1246

Open
albertlockett opened this issue Apr 26, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working typescript Typescript / javascript

Comments

@albertlockett
Copy link
Contributor

LanceDB version

latest

What happened?

When passing to createTable as a property of the first argument (an object), an exception is raised: Either data or schema needs to defined. This only happens for remote tables

await db.createTable({
  name: 'table1',
  data,
  schema
})

An exception is thrown

Are there known steps to reproduce?

No response

@albertlockett albertlockett added bug Something isn't working typescript Typescript / javascript labels Apr 26, 2024
@albertlockett albertlockett self-assigned this Apr 26, 2024
@albertlockett albertlockett changed the title bug(node): Creating ta bug(node): Creating table when passing data as object property throws Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working typescript Typescript / javascript
Projects
None yet
Development

No branches or pull requests

1 participant