-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-35526: [CI][C++] Fixing arrow::internal::IsNullRunEndEncoded redeclared #35527
GH-35526: [CI][C++] Fixing arrow::internal::IsNullRunEndEncoded redeclared #35527
Conversation
|
This fixing is wrong, it's not anonymous namespace problem |
@kou Mind take a look? |
Seems this was caused by gandiva or CI changed, I guess this will not produce a nullptr or uninitialized: llvm::Type* selection_vector_type;
switch (selection_vector_mode) {
case SelectionVector::MODE_NONE:
case SelectionVector::MODE_UINT16:
arguments.push_back(types()->ptr_type(types()->i16_type()));
selection_vector_type = types()->i16_type();
break;
case SelectionVector::MODE_UINT32:
arguments.push_back(types()->i32_ptr_type());
selection_vector_type = types()->i32_type();
break;
case SelectionVector::MODE_UINT64:
arguments.push_back(types()->i64_ptr_type());
selection_vector_type = types()->i64_type();
break;
}
|
7a3c1a6
to
e6ac511
Compare
Seems that it reports shared_ptr is wrong in this case, another case is that:
in |
The description here is incorrect, can you fix it to match the PR changes? |
Description changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, let's wait for CI now
These two problems mentioned #35527 (comment) can be seen at: It breaks "C++ / AMD64 Windows MinGW MINGW32 C++" and "C++ / AMD64 Windows MinGW MINGW64 C++ (pull_request)" Another problem is that in "Python / AMD64 macOS 12 Python 3":
Which could be seen here: https://github.com/apache/arrow/actions/runs/4938674893/jobs/8828707211?pr=35527 Failed in "R" might be fixed in main branch. For "C GLib & Ruby / AMD64 Windows MinGW 64 GLib & Ruby (pull_request)", here is:
I guess thats the issue |
For Python Pandas assertion, here is a patch: #35530 |
Hmm, it seems there's another issue now on MinGW GLib build: @kou, would you be able to take a look here?
|
Oh, it was failed without error message... I can try this on my local environment next week. (I attend RubyKaigi 2023 in this week.) |
The following tests FAILED: These two test failed, never seen it before. @wgtmac do you have any idea why |
@pitrou Could we get this fixing merged or need to wait some testing or failed ci passing? |
@mapleFU I've restarted some CI jobs now that GitHub seems to be doing a bit better :-) |
Github has problem these three days...But I wonder that why these UT failed is related :-( |
The MinGW C++ errors and segfaults don't look related, so I'm going to merge this PR. Thanks @mapleFU ! |
Benchmark runs are scheduled for baseline = 4fd5c28 and contender = 401ae19. 401ae19 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
… redeclared (apache#35527) ### Rationale for this change Fixing arrow::internal::IsNullRunEndEncoded redeclared. The CI will report: ``` 'bool arrow::internal::IsNullRunEndEncoded(const arrow::ArrayData&, int64_t)' redeclared without dllimport attribute after being referenced with dll linkage ``` And: ``` warning: 'selection_vector_type' may be used uninitialized ``` ### What changes are included in this PR? 1. Add `ARROW_FRIEND_EXPORT` for friend function 2. Initialize pointer in gandiva with `nullptr` ### Are these changes tested? No ### Are there any user-facing changes? No * Closes: apache#35526 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
… redeclared (apache#35527) ### Rationale for this change Fixing arrow::internal::IsNullRunEndEncoded redeclared. The CI will report: ``` 'bool arrow::internal::IsNullRunEndEncoded(const arrow::ArrayData&, int64_t)' redeclared without dllimport attribute after being referenced with dll linkage ``` And: ``` warning: 'selection_vector_type' may be used uninitialized ``` ### What changes are included in this PR? 1. Add `ARROW_FRIEND_EXPORT` for friend function 2. Initialize pointer in gandiva with `nullptr` ### Are these changes tested? No ### Are there any user-facing changes? No * Closes: apache#35526 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
Rationale for this change
Fixing arrow::internal::IsNullRunEndEncoded redeclared. The CI will report:
And:
What changes are included in this PR?
ARROW_FRIEND_EXPORT
for friend functionnullptr
Are these changes tested?
No
Are there any user-facing changes?
No