You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Jack Tondon (Jira)" <ji...@apache.org> on 2022/05/19 12:54:00 UTC

[jira] [Created] (ARROW-16615) An unstable crash may appears when reading table from a json file.

Jack Tondon created ARROW-16615:
-----------------------------------

             Summary: An unstable crash may appears when reading table from a json file.
                 Key: ARROW-16615
                 URL: https://issues.apache.org/jira/browse/ARROW-16615
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 8.0.0
            Reporter: Jack Tondon
         Attachments: test.json, test_arrow_json.cpp

An unstable crash may appears when reading table from a json file.

arrow and parquet are installed by apt-get.

g++ test_arrow_json.cpp -o test_arrow_json -larrow -lparquet && ./test_arrow_json

/build/apache-arrow-8.0.0/cpp/src/arrow/result.cc:28: ValueOrDie called on an error: NotImplemented: JSON conversion to struct<timestamp_deprecated: int64, traffic_light_id: timestamp[s], camera_id: timestamp[s], camera_center_timestamp: int64, camera_trigger_timestamp: int64, tl_yaw_diff: int64, distance: int64, color: timestamp[s], shape: timestamp[s], score: int64, flashing: bool, occluded: bool, occlusion_ratio: int64, raw_color: timestamp[s], temporal_fused_color: timestamp[s], temporal_fused_flashing: bool, state_source: timestamp[s], x: int64, y: int64, width: int64, height: int64, original_width: int64, original_height: int64, light_body_bboxes: list<item: struct<x: int64, y: int64, width: int64, height: int64>>, light_bboxes: list<item: struct<x: int64, y: int64, width: int64, height: int64>>, countdown: timestamp[s]> is not supported
/usr/lib/x86_64-linux-gnu/libarrow.so.800(+0x39e131)[0x7f07b843e131]
/usr/lib/x86_64-linux-gnu/libarrow.so.800(_ZN5arrow4util8ArrowLogD1Ev+0xdd)[0x7f07b878e83d]
/usr/lib/x86_64-linux-gnu/libarrow.so.800(_ZN5arrow8internal17InvalidValueOrDieERKNS_6StatusE+0x17d)[0x7f07b8626e8d]
./test_arrow_json(+0x1b9b)[0x5613e4b53b9b]
./test_arrow_json(+0x12f2)[0x5613e4b532f2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f07b772fc87]
./test_arrow_json(+0xfba)[0x5613e4b52fba]
Aborted (core dumped)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)