Coder Social home page Coder Social logo

Is README accurate? about orc HOT 5 CLOSED

scritchley avatar scritchley commented on August 29, 2024
Is README accurate?

from orc.

Comments (5)

scritchley avatar scritchley commented on August 29, 2024 2

Closing this for now. I will be making writer support official in the upcoming couple of weeks.

from orc.

scritchley avatar scritchley commented on August 29, 2024

Yes, there is a writer implementation that works, although, there are still cases where its behaviour might not or does not conform to the ORC spec. Namely:

  • Row indexes - It's quite hard to decipher exactly what the spec intends: https://orc.apache.org/docs/spec-index.html
  • Compression - Currently all of the compression writers do not compress, they simple write the file uncompressed.

It's this that's made me refrain from declaring it as a supported feature. I'm waiting on a project that requires the writer functionality to more thoroughly test it.

from orc.

5k3105 avatar 5k3105 commented on August 29, 2024

Hi,

I'm waiting on a project that requires the writer functionality to more thoroughly test it.

I have half a dozen projects that may benefit from a good compressed database format.

Don't really need acid (though nice), just need something compressed effectively.

sqlite is bloated and I hear lmdb gets large as well.

from orc.

binary132 avatar binary132 commented on August 29, 2024

Hello @scritchley, we're looking at using your writer. Do you think it's working reasonably well? I see you have zlib compression now.

How bad is the row index issue?

from orc.

scritchley avatar scritchley commented on August 29, 2024

The issue (if there is one) specifically relates to the 'positions' field in the row index detailed here: https://orc.apache.org/docs/spec-index.html

The writer as it stands does write the indexes, however, the code that writes the positions may not behave as intended by the spec. I suppose this could cause issues in readers that utilise the indexes to prune rows. I've had limited experience of this in practice though.

I would need to compare the row indexes created by this writer with those created by one of the official tools.

from orc.

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.