Reranko05 commented on PR #51038:
URL: https://github.com/apache/arrow/pull/51038#issuecomment-5587912440
@pitrou @rok I’ve rebased the parser PR and incorporated the latest
feedback, including reusing the `simdjson::ondemand::parser` and using
`padded_string_view` when the Arrow `Buffer` has sufficient capacity.
The native C++ build and tests pass, but Crossbow’s `ubuntu-cpp-emscripten`
job now fails in `arrow-dataset-file-json-test`:
```
RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
at abort (/build/cpp/debug/arrow-dataset-file-json-test.js:491:11)
at _abort (/build/cpp/debug/arrow-dataset-file-json-test.js:4483:7)
at invoke_v (/build/cpp/debug/arrow-dataset-file-json-test.js:5907:29)
at arrow-dataset-file-json-test.wasm.std::__terminate(void (*)())
(wasm://wasm/arrow-dataset-file-json-test.wasm-0f1ca1f2:wasm-function[41574]:0x277e6cb)
at arrow-dataset-file-json-test.wasm.std::terminate()
(wasm://wasm/arrow-dataset-file-json-test.wasm-0f1ca1f2:wasm-function[41572]:0x277e6a4)
at
arrow-dataset-file-json-test.wasm.simdjson::fallback::ondemand::document_stream::start()
(wasm://wasm/arrow-dataset-file-json-test.wasm-0f1ca1f2:wasm-function[20092]:0x10168d0)
at arrow-dataset-file-json-test.wasm.arrow::Status arrow::Status
arrow::json::HandlerBase::DoParse<arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>>(arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>&,
std::__2::shared_ptr<arrow::Buffer>
const&)::'lambda'(arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>
const&)::operator()<simdjson::padded_string>(arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>
const&) const
(wasm://wasm/arrow-dataset-file-json-test.wasm-0f1ca1f2:wasm-function[20180]:0x1030c99)
at invoke_viii (/build/cpp/debug/arrow-dataset-file-json-test.js:5885:29)
at arrow-dataset-file-json-test.wasm.arrow::Status
arrow::json::HandlerBase::DoParse<arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>>(arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>&,
std::__2::shared_ptr<arrow::Buffer> const&)
(wasm://wasm/arrow-dataset-file-json-test.wasm-0f1ca1f2:wasm-function[20178]:0x102f33c)
at
arrow-dataset-file-json-test.wasm.arrow::json::Handler<(arrow::json::UnexpectedFieldBehavior)2>::Parse(std::__2::shared_ptr<arrow::Buffer>
const&)
(wasm://wasm/arrow-dataset-file-json-test.wasm-0f1ca1f2:wasm-function[20177]:0x102ef89)
```
Do you have any idea what I need to do to fix this?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]