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: lance error to peek lance schema #2842

Open
eddyxu opened this issue Sep 8, 2024 · 1 comment
Open

bug: lance error to peek lance schema #2842

eddyxu opened this issue Sep 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@eddyxu
Copy link
Contributor

eddyxu commented Sep 8, 2024

Problem

return Err(Error::from(batch.as_ref().unwrap_err()));

Database { table: Some("..."), cause: "lance error: LanceError(Arrow): Io error: failed to fill whole buffer, /src/lance/rust/lance-datafusion/src/utils.rs:41:28" }

It is not clear how to reproduce it yet.

@eddyxu eddyxu added the bug Something isn't working label Sep 8, 2024
@LuQQiu
Copy link
Collaborator

LuQQiu commented Sep 8, 2024

  • The error message "failed to fill the whole buffer" originates from Rust's standard library (std::io), and occurs when "read_exact" or similar methods fail to read the expected number of bytes
  • In our case, failed to read from the input data RecordBatchReader when writing/appending data to the dataset/fragments

@eddyxu do you have any information about what types of data sources are used? e.g. what's the python data input type?
Could we have more information on their workflow, what did they read? what libraries are used for intermediate data processing, and what do they pass to Lance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants