SemyonSinchenko commented on code in PR #952:
URL: https://github.com/apache/incubator-graphar/pull/952#discussion_r3797009473


##########
cpp/src/graphar/arrow/chunk_reader.cc:
##########
@@ -75,7 +75,9 @@ Status GeneralCast(const std::shared_ptr<arrow::Array>& in,
                    std::shared_ptr<arrow::Array>* out) {
   static bool initialized = false;
   if (!initialized) {
+#if ARROW_VERSION >= 21000000

Review Comment:
   ```suggestion
   #if defined(ARROW_VERSION) && ARROW_VERSION <= 20000000
   ```



##########
cpp/src/graphar/arrow/chunk_reader.cc:
##########
@@ -117,7 +119,9 @@ Status CastTableWithSchema(const 
std::shared_ptr<arrow::Table>& table,
                            std::shared_ptr<arrow::Table>* out_table) {
   static bool initialized = false;
   if (!initialized) {
+#if ARROW_VERSION >= 21000000

Review Comment:
   ```suggestion
   #if defined(ARROW_VERSION) && ARROW_VERSION >= 21000000
   ```



-- 
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]

Reply via email to