chrish42 commented on pull request #7110:
URL: https://github.com/apache/arrow/pull/7110#issuecomment-712262192


   @emkornfield Here's the latest version, rebased on the latest Arrow code 
(been some changes with DictMemo -> DictFeidlMapper, etc.).  There are 
`Schema::FromJson()` and `Schema::ToJson()` member functions. If you compile 
things, you'll also get a temporary `arrow-schema` executable, that you can run 
to exercise those two member functions.
   
   The problem I'm struggling with is in the `Schema::FromJson()` member 
function (`ToJson()` works fine). I'm initializing a FlatBuffers parser with 
the schema for Arrow's `Schema`, then using it to parse the Json representation 
of an Arrow Schema. However, the Flatbuffers binary buffer produced by that 
isn't what `arrow::ipc::internal::GetSchema()` expects, because I get a crash 
there. So that's where I'm at currently, debugging and trying to figoure out 
Flatbuffers, to understand what's happening. Hence the not much happening on 
the "adding / changing lines of code" side, and the slow progress.
   
   If it was possible to `@`-summon someone who knows this part of the Arrow 
code well, I'm guessing the problem will be obvious to them. That would be 
really lovely, and probably save me a bunch of time. Otherwise, I'll continue 
working on it, but progress will be slow, because I can only work on this 
occasionally, and I don't know Flatbuffers or this part of the code well. (And 
Flatbuffers problems are kindof a pain to debug, as I'm figuring out.)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to