{"action":"opened","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4451","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4451/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4451/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/4451/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/4451","id":90932608,"number":4451,"title":"Error in Import on Big json file","user":{"login":"sebadiaz","id":1083623,"avatar_url":"https://avatars.githubusercontent.com/u/1083623?v=3","gravatar_id":"","url":"https://api.github.com/users/sebadiaz","html_url":"https://github.com/sebadiaz","followers_url":"https://api.github.com/users/sebadiaz/followers","following_url":"https://api.github.com/users/sebadiaz/following{/other_user}","gists_url":"https://api.github.com/users/sebadiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/sebadiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebadiaz/subscriptions","organizations_url":"https://api.github.com/users/sebadiaz/orgs","repos_url":"https://api.github.com/users/sebadiaz/repos","events_url":"https://api.github.com/users/sebadiaz/events{/privacy}","received_events_url":"https://api.github.com/users/sebadiaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-25T11:17:15Z","updated_at":"2015-06-25T11:17:15Z","closed_at":null,"body":"When I have a big json file an error occur during the parsing phase because the json file is more than the buffer size\r\nmisys@ubuntu:~/project/cnam/airbase$ rethinkdb import -f data/AT_meta.xml.json --table test.users --force --debug \r\n[                                        ]   0% \r\n0 rows imported in 1 table\r\nExpecting object: line 957981 column 11 (char 67108863)\r\nValueError traceback: [('/usr/local/lib/python2.7/dist-packages/rethinkdb/_import.py', 548, 'table_reader', 'exit_event)'), ('/usr/local/lib/python2.7/dist-packages/rethinkdb/_import.py', 420, 'json_reader', 'json_data[offset] == \"[\")'), ('/usr/local/lib/python2.7/dist-packages/rethinkdb/_import.py', 371, 'read_json_array', '(obj, offset) = decoder.raw_decode(json_data, idx=offset)'), ('/usr/lib/python2.7/json/decoder.py', 382, 'raw_decode', 'obj, end = self.scan_once(s, idx)')]\r\nIn file: /home/misys/project/cnam/airbase/data/AT_meta.xml.json\r\nErrors occurred during import\r\n"}}