Skip to content

Conversation

@pitrou
Copy link
Member

@pitrou pitrou commented Dec 14, 2021

On some combination of configuration options, I would get the following errors:

/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:16716:70: error: no member named 'WriteCSV' in namespace 'arrow::csv'
          __pyx_t_4 = __pyx_f_7pyarrow_3lib_check_status(arrow::csv::WriteCSV((*__pyx_v_batch), __pyx_v_c_write_options, __pyx_v_stream.get())); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(0, 1040, __pyx_L5_error)
                                                         ~~~~~~~~~~~~^
/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:16797:70: error: no member named 'WriteCSV' in namespace 'arrow::csv'
          __pyx_t_4 = __pyx_f_7pyarrow_3lib_check_status(arrow::csv::WriteCSV((*__pyx_v_table), __pyx_v_c_write_options, __pyx_v_stream.get())); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(0, 1044, __pyx_L8_error)
                                                         ~~~~~~~~~~~~^
/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:17089:109: error: no member named 'MakeCSVWriter' in namespace 'arrow::csv'
        __pyx_t_2 = arrow::py::GetResultValue<std::shared_ptr< arrow::ipc::RecordBatchWriter> >(arrow::csv::MakeCSVWriter(__pyx_v_c_stream, __pyx_v_c_schema, __pyx_v_c_write_options)); if (unlikely(__Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 1076, __pyx_L4_error)
                                                                                                ~~~~~~~~~~~~^
3 errors generated.

On some combination of configuration options, I would get the following errors:
```
/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:16716:70: error: no member named 'WriteCSV' in namespace 'arrow::csv'
          __pyx_t_4 = __pyx_f_7pyarrow_3lib_check_status(arrow::csv::WriteCSV((*__pyx_v_batch), __pyx_v_c_write_options, __pyx_v_stream.get())); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(0, 1040, __pyx_L5_error)
                                                         ~~~~~~~~~~~~^
/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:16797:70: error: no member named 'WriteCSV' in namespace 'arrow::csv'
          __pyx_t_4 = __pyx_f_7pyarrow_3lib_check_status(arrow::csv::WriteCSV((*__pyx_v_table), __pyx_v_c_write_options, __pyx_v_stream.get())); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(0, 1044, __pyx_L8_error)
                                                         ~~~~~~~~~~~~^
/home/antoine/arrow/dev/python/build/temp.linux-x86_64-3.9/_csv.cpp:17089:109: error: no member named 'MakeCSVWriter' in namespace 'arrow::csv'
        __pyx_t_2 = arrow::py::GetResultValue<std::shared_ptr< arrow::ipc::RecordBatchWriter> >(arrow::csv::MakeCSVWriter(__pyx_v_c_stream, __pyx_v_c_schema, __pyx_v_c_write_options)); if (unlikely(__Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 1076, __pyx_L4_error)
                                                                                                ~~~~~~~~~~~~^
3 errors generated.
```
@pitrou pitrou requested a review from westonpace December 14, 2021 16:50
@github-actions
Copy link

@github-actions
Copy link

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

Copy link
Member

@westonpace westonpace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Scanning through references to the macros in config.h it seems we might also be missing (from an IWYU perspective) a #include "arrow/util/config.h" in arrow/util/basic_decimal.cc (it needs ARROW_USE_NATIVE_INT128 and gets it indirectly via arrow/util/int128_internal.h)

@pitrou
Copy link
Member Author

pitrou commented Dec 14, 2021

Nice catch, I will add it there too.

@pitrou pitrou closed this in 994074d Dec 14, 2021
@pitrou pitrou deleted the ARROW-15101-csv-writer branch December 14, 2021 18:59
@ursabot
Copy link

ursabot commented Dec 14, 2021

Benchmark runs are scheduled for baseline = 0f41ed4 and contender = 994074d. 994074d is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Finished ⬇️0.45% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.13% ⬆️0.04%] ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python. Runs only benchmarks with cloud = True
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit -g conda-win-vs2017-py36-r40

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit -g test-r-arrow-backwards-compatibility

@github-actions
Copy link

Invalid group(s) {'conda-win-vs2017-py36-r40'}. Must be one of {'packaging', 'conda', 'linux-amd64', 'cpp', 'verify-rc-jars', 'verify-rc-wheels', 'fuzz', 'nightly', 'verify-rc-source-macos', 'test', 'verify-rc', 'verify-rc-binaries', 'homebrew', 'python', 'wheel', 'r', 'ruby', 'linux-arm64', 'c-glib', 'example', 'verify-rc-source', 'integration', 'vcpkg', 'example-cpp', 'linux', 'verify-rc-source-linux'}
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/1581372147```

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit -g test-r-linux-as-cran

@github-actions
Copy link

Invalid group(s) {'test-r-arrow-backwards-compatibility'}. Must be one of {'linux-amd64', 'packaging', 'nightly', 'vcpkg', 'wheel', 'integration', 'verify-rc-source-macos', 'verify-rc-binaries', 'verify-rc', 'test', 'verify-rc-jars', 'linux-arm64', 'cpp', 'homebrew', 'ruby', 'r', 'verify-rc-wheels', 'verify-rc-source', 'linux', 'conda', 'python', 'verify-rc-source-linux', 'fuzz', 'example-cpp', 'example', 'c-glib'}
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/1581373165```

@github-actions
Copy link

Invalid group(s) {'test-r-linux-as-cran'}. Must be one of {'linux', 'packaging', 'homebrew', 'wheel', 'python', 'linux-arm64', 'verify-rc-binaries', 'verify-rc', 'vcpkg', 'verify-rc-source-macos', 'verify-rc-wheels', 'verify-rc-source', 'c-glib', 'linux-amd64', 'cpp', 'conda', 'integration', 'fuzz', 'r', 'verify-rc-jars', 'verify-rc-source-linux', 'example-cpp', 'test', 'ruby', 'nightly', 'example'}
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/1581374182```

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-r-linux-as-cran

@kou
Copy link
Member

kou commented Dec 15, 2021

@bkmgit -g is needless.

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1301

Task Status
test-r-linux-as-cran Github Actions

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-r-arrow-backwards-compatibility

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit conda-win-vs2017-py36-r40

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1302

Task Status
test-r-arrow-backwards-compatibility Github Actions

@github-actions
Copy link

Failed to push updated references, potentially because of credential issues: ['refs/heads/actions-1302-azure-conda-win-vs2017-py36-r40', 'refs/tags/actions-1302-azure-conda-win-vs2017-py36-r40', 'refs/heads/actions-1302']
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/1581381068```

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-r-versions

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-ubuntu-18.04-cpp-release

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1303

Task Status
test-r-versions Github Actions

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1304

Task Status
test-ubuntu-18.04-cpp-release Github Actions

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-fedora-33-cpp

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1305

Task Status
test-fedora-33-cpp Github Actions

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit conda-linux-gcc-py36-cuda

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1306

Task Status
conda-linux-gcc-py36-cuda Azure

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit conda-win-vs2017-py36-r40

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1307

Task Status
conda-win-vs2017-py36-r40 Azure

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-conda-cpp-valgrind

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1308

Task Status
test-conda-cpp-valgrind Azure

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit conda-linux-gcc-py36-cpu-r40

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1309

Task Status
conda-linux-gcc-py36-cpu-r40 Azure

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-build-vcpkg-win

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1310

Task Status
test-build-vcpkg-win Github Actions

@bkmgit
Copy link
Contributor

bkmgit commented Dec 15, 2021

@github-actions crossbow submit test-ubuntu-18.04-r-sanitizer

@github-actions
Copy link

Revision: 97a9a4f

Submitted crossbow builds: ursacomputing/crossbow @ actions-1311

Task Status
test-ubuntu-18.04-r-sanitizer Azure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants