arrow icon indicating copy to clipboard operation
arrow copied to clipboard

Update Plasma Buffer failed

Open g302ge opened this issue 2 years ago • 2 comments

When I have updated the arrow::plasma project to support some features in our business. I got this error in make process.

image

And the generating command from .fbs files is:

flatc --cpp --cpp-std c++11 --gen-object-api --scoped-enums common.fbs plasma.fbs

my flatc compiler is at version 2.0.6

thx for reply best wishes

g302ge avatar Jun 23 '22 08:06 g302ge

Hi @g302ge, although I am not an arrow::plasma user, I have several observations:

  • The VerifyField function expects only 2 arguments and your error message is showing that it being invoked with 3 arguments.
  • Browsing the Arrow codebase, there is no invocation passing 3 arguments to this function, so I assume that your plasma_generated.h is not supported.
  • Also, arrow::plasma updates are mostly +2 years old, so it may be the case that this component is not fully stable.

edponce avatar Jul 27 '22 04:07 edponce

When I have updated the arrow::plasma project to support some features in our business.

Can you explain what this means exactly?

Also, regardless, Plasma is currently unmaintained and will probably be deprecated at some point...

pitrou avatar Aug 04 '22 07:08 pitrou

When I have updated the arrow::plasma project to support some features in our business.

Can you explain what this means exactly?

Also, regardless, Plasma is currently unmaintained and will probably be deprecated at some point...

Sure, we have design a new data application, whose bottleneck is File I/O (some FXXK history reason). So these day we are trying do some hot patch to reduce the IO using big main memory to cache them. In our design every column in file could be regard as an object in Plasma, but we have to introduce some new feature designed for our situation. For example we use the SHA1(file_path) + FileInfo.mtime() as version + Column Index as an ObjectID, since we expand the origin ObjectID into 32bit.

Sounds really tricky, but recent days the only road to reduce the IO is to build a new Database to replace File I/Os . LOL

g302ge avatar Aug 17 '22 18:08 g302ge