Giter Club home page Giter Club logo

Comments (4)

danny0405 avatar danny0405 commented on August 17, 2024

That is because you are using the append mode, the append mode relies on the async clustering for small files merging. You can switch to upsert operation for the tests too, the upsert will merge the files during write.

from hudi.

vkhoroshko avatar vkhoroshko commented on August 17, 2024

That is because you are using the append mode, the append mode relies on the async clustering for small files merging. You can switch to upsert operation for the tests too, the upsert will merge the files during write.

Thank you. Looks like it's working fine. However, is it mentioned in documentation anywhere? All that I see is the note - the bulk_insert write operation does not have auto-sizing capabilities during ingestion

Another question, by adding the following property I was able to achieve the same for insert operation type:

'write.insert.cluster' = 'true',

This property above is not greatly documented either, I found it by digging in source code..

Is there any difference really? Or overall recommendation is to use async clustering?

Thanks in advance

from hudi.

danny0405 avatar danny0405 commented on August 17, 2024

'write.insert.cluster' = 'true' is actually inline clustering, that means it will do the clustering on each write, so the write throughput is low comparing to the async clustering.

Sorry it is not well documented.

from hudi.

ad1happy2go avatar ad1happy2go commented on August 17, 2024

Created a tracking JIRA to fix doc - https://issues.apache.org/jira/browse/HUDI-7396

Thanks @dannyhchen @vkhoroshko . Closing this.

from hudi.

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.