Giter Club home page Giter Club logo

Comments (6)

abhiaagarwal avatar abhiaagarwal commented on August 21, 2024

I'm reasonably confident the error is orignating from here, based on my read of various error messages:

while let Some(maybe_batch) = read_stream.next().await {
let mut batch = maybe_batch?;
batch = super::cast::cast_record_batch(
&batch,
task_parameters.file_schema.clone(),
false,
true,
)?;
partial_metrics.num_batches += 1;
writer.write(&batch).await.map_err(DeltaTableError::from)?;
}

Since it's run in a blocking context in the python side, I'm wondering if that's causing any weirdness (it shouldn't).

from delta-rs.

thomasfrederikhoeck avatar thomasfrederikhoeck commented on August 21, 2024

@abhiaagarwal I wish I could assist but my Rust knowledge is very limited. But let me know if I need to test something.

from delta-rs.

Josh-Hiz avatar Josh-Hiz commented on August 21, 2024

This same issue is happening occasionally when also reading from a deltatable in Azure Gen 2:

  File "pyarrow\\_dataset.pyx", line 562, in pyarrow._dataset.Dataset.to_table
  File "pyarrow\\_dataset.pyx", line 3804, in pyarrow._dataset.Scanner.to_table
  File "pyarrow\\error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow\\error.pxi", line 88, in pyarrow.lib.check_status
OSError: Generic MicrosoftAzure error: error decoding response body

In which to_table is causing this.

from delta-rs.

thomasfrederikhoeck avatar thomasfrederikhoeck commented on August 21, 2024

@Josh-Hiz what happens if try benchmarking with azcopy like I have done here: apache/arrow-rs#5882 (comment) maybe you can add a data point as a comment?

from delta-rs.

thomasfrederikhoeck avatar thomasfrederikhoeck commented on August 21, 2024

@Josh-Hiz what happens if try benchmarking with azcopy like I have done here: apache/arrow-rs#5882 (comment) maybe you can add a data point as a comment?

Very gentle ping @Josh-Hiz :-)

from delta-rs.

ion-elgreco avatar ion-elgreco commented on August 21, 2024

@thomasfrederikhoeck try to create a reproducible example that mimics the size and characteristics of your table on Azure. Otherwise no one can properly replicate

from delta-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.