Java bindings for mixed types as strings - #8
Merged
karthikeyann merged 5 commits intoDec 13, 2023
Merged
Conversation
…ing' into mixed-types
…ing' into mixed-types
karthikeyann
pushed a commit
that referenced
this pull request
Nov 16, 2024
Fixes call to `data_type{}` ctor in `json_test.cpp`. The 2-parameter ctor is for fixed-point-types only and will assert in a debug build if used incorrectly: https://github.com/rapidsai/cudf/blob/2db58d58b4a986c2c6fad457f291afb1609fd458/cpp/include/cudf/types.hpp#L277-L280
Partial stack trace from a gdb run
```
#5 0x000077b1530bc71b in __assert_fail_base (fmt=0x77b153271130 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x58c3e4baaa98 "id == type_id::DECIMAL32 || id == type_id::DECIMAL64 || id == type_id::DECIMAL128",
file=0x58c3e4baaa70 "/cudf/cpp/include/cudf/types.hpp", line=279, function=<optimized out>) at ./assert/assert.c:92
#6 0x000077b1530cde96 in __GI___assert_fail (
assertion=0x58c3e4baaa98 "id == type_id::DECIMAL32 || id == type_id::DECIMAL64 || id == type_id::DECIMAL128",
file=0x58c3e4baaa70 "/cudf/cpp/include/cudf/types.hpp", line=279, function=0x58c3e4baaa38 "cudf::data_type::data_type(cudf::type_id, int32_t)")
at ./assert/assert.c:101
#7 0x000058c3e48ba594 in cudf::data_type::data_type (this=0x7fffdd3f7530, id=cudf::type_id::STRING, scale=0) at /cudf/cpp/include/cudf/types.hpp:279
#8 0x000058c3e49215d9 in JsonReaderTest_MixedTypesWithSchema_Test::TestBody (this=0x58c3e5ea13a0) at /cudf/cpp/tests/io/json/json_test.cpp:2887
```
Authors:
- David Wendt (https://github.com/davidwendt)
Approvers:
- Karthikeyan (https://github.com/karthikeyann)
- Muhammad Haseeb (https://github.com/mhaseeb123)
URL: NVIDIA#17273
karthikeyann
pushed a commit
that referenced
this pull request
Jul 31, 2025
As currently libcudf hides non-public symbols by default, stacktrace using C++ ABI `backtrace_symbols` no longer produces meaningful output. For example: ``` #0: gtests/STREAM_REDUCTION_TEST() [0x5bb586] #1: gtests/STREAM_REDUCTION_TEST() [0x6a742d] #2: gtests/STREAM_REDUCTION_TEST() [0x68a04e] ... #8: /usr/lib64/libc.so.6 : __libc_start_main+0xe5 #9: gtests/STREAM_REDUCTION_TEST() [0x53419e] unknown file: Failure C++ exception with description "cudf_identify_stream_usage found unexpected stream!" thrown in the test body. ``` This PR removes completely the stacktrace generation code. Closes NVIDIA#18831. Also closes NVIDIA#16724. Authors: - Nghia Truong (https://github.com/ttnghia) - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Vukasin Milovanovic (https://github.com/vuule) - Vyas Ramasubramani (https://github.com/vyasr) - Robert (Bobby) Evans (https://github.com/revans2) URL: NVIDIA#19048
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.