Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17086

[C++] Install java/dataset include file and fix debug build failed by compiler flag

    XMLWordPrintableJSON

Details

    Description

      Arrow8 will install jni_util.h, but Arrow9 not, cause [gluten|oap-project/gluten (github.com)] project fail when upgraded to Arrow 9

      And if use cmake --preset ninja-debug
      -DARROW_BUILD_SHARED=ON
      -DARROW_GANDIVA_JAVA=ON
      -DARROW_GANDIVA=ON
      it will failed with this error, fix it
      arrow/cpp/src/gandiva/jni/expression_registry_helper.cc:157:78: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32]
      gandiva_data_types.SerializeToArray(reinterpret_cast<void*>(buffer.get()), size);

      Attachments

        Issue Links

          Activity

            People

              Jin Chengcheng Jin Chengcheng
              Jin Chengcheng Jin Chengcheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m