[ 
https://issues.apache.org/jira/browse/ARROW-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719345#comment-16719345
 ] 

Benjamin Kietzman commented on ARROW-4000:
------------------------------------------

Here's the generated code, crash at call to ReadOptions::Defaults():

{code:title=_csv.cpp}
static int __pyx_pf_7pyarrow_4_csv_11ReadOptions___init__(struct 
__pyx_obj_7pyarrow_4_csv_ReadOptions *__pyx_v_self, PyObject 
*__pyx_v_use_threads, PyObject *__pyx_v_block_size) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "pyarrow/_csv.pyx":62
 * 
 *     def __init__(self, use_threads=None, block_size=None):
 *         self.options = CCSVReadOptions.Defaults()             # 
<<<<<<<<<<<<<<
 *         if use_threads is not None:
 *             self.use_threads = use_threads
 */
  __pyx_v_self->options =  arrow::csv::ReadOptions::Defaults();

  /* "pyarrow/_csv.pyx":63
 *     def __init__(self, use_threads=None, block_size=None):
 *         self.options = CCSVReadOptions.Defaults()
 *         if use_threads is not None:             # <<<<<<<<<<<<<<
 *             self.use_threads = use_threads
 *         if block_size is not None:
 */
{code}

> [Python] Error running CSV test_read_options on Windows
> -------------------------------------------------------
>
>                 Key: ARROW-4000
>                 URL: https://issues.apache.org/jira/browse/ARROW-4000
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>    Affects Versions: 0.11.1
>            Reporter: Benjamin Kietzman
>            Priority: Minor
>              Labels: csv, windows
>
> `py.test pyarrow -v` crashed at 
> `pyarrow/tests/test_csv.py::test_read_options`.
> errorlevel was -1073741819, not sure what that means.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to