Zouxxyy opened a new pull request, #10651:
URL: https://github.com/apache/incubator-gluten/pull/10651
<!--
Thank you for submitting a pull request! Here are some tips:
1. For first-time contributors, please read our contributing guide:
https://github.com/apache/incubator-gluten/blob/main/CONTRIBUTING.md
2. If necessary, create a GitHub issue for discussion beforehand to avoid
duplicate work.
3. If the PR is specific to a single backend, include [VL] or [CH] in the PR
title to indicate the
Velox or ClickHouse backend, respectively.
4. If the PR is not ready for review, please mark it as a draft.
-->
## What changes are proposed in this pull request?
When build arrow on my mac, I meet this error
```
[ 54%] Built target arrow_java_jni_dataset_jar
[ 72%] Built target arrow_java_jni_cdata
[ 81%] Building CXX object
dataset/CMakeFiles/arrow_java_jni_dataset.dir/src/main/cpp/jni_wrapper.cc.o
/Users/zxy/project/emr/gluten/ep/_ep/arrow_ep/java/dataset/src/main/cpp/jni_wrapper.cc:103:14:
error: no viable conversion from returned value of type
'shared_ptr<ParquetFileFormat>' to fu
nction return type
'arrow::Result<std::shared_ptr<arrow::dataset::FileFormat>>'
103 | return std::make_shared<arrow::dataset::ParquetFileFormat>();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/arrow/result.h:129:3: note: candidate constructor not
viable: no known conversion from 'shared_ptr<ParquetFileFormat>' to 'const
Status &' for 1st argument
129 | Result(const Status& status) noexcept // NOLINT(runtime/explicit)
| ^ ~~~~~~~~~~~~~~~~~~~~
/usr/local/include/arrow/result.h:177:3: note: candidate constructor not
viable: no known conversion from 'shared_ptr<ParquetFileFormat>' to
'std::shared_ptr<arrow::dataset::FileFormat> &&
' for 1st argument
```
The reason is that we remove build ARROW_PARQUET in
https://github.com/apache/incubator-gluten/issues/9511
<!--
Provide a clear and concise description of the changes introduced in this PR.
Ensure the PR description aligns with the code changes, especially after
updates.
If applicable, include "Fixes #<GitHub_Issue_ID>" to automatically close the
corresponding issue
when the PR is merged.
-->
## How was this patch tested?
test build on my own mac
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]