AlenkaF commented on code in PR #36162:
URL: https://github.com/apache/arrow/pull/36162#discussion_r1234972630


##########
python/pyarrow/src/arrow/python/inference.cc:
##########
@@ -77,6 +79,8 @@ Status ImportPresentIntervalTypes(OwnedRefNoGIL* 
interval_types_tuple) {
 
 }  // namespace
 
+int import_pyarrow();

Review Comment:
   This change produced an error:
   ```
   /arrow/python/pyarrow/src/arrow/python/inference.cc
     /arrow/python/pyarrow/src/arrow/python/inference.cc:82:17: error: expected 
constructor, destructor, or type conversion before ';' token
        82 | import_pyarrow();
           |   
   ```
   
   I do not fully understand the usage of this function. But if we need to call 
it before using any other function in the pyarrow C++ we could do an if 
statement or something?
   



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to