Adjust v1.5.0 for z/OS#1
Closed
DNikolaevAtRocket wants to merge 1 commit intov1.5-variegatafrom
Closed
Conversation
a7ec0f3 to
771f6f1
Compare
771f6f1 to
807d8e6
Compare
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
807d8e6 to
0c34e6d
Compare
DNikolaevAtRocket
pushed a commit
that referenced
this pull request
Apr 14, 2026
Closes duckdb/ducklake#977 When I was using DuckLake I met certain issue ```sh memory D ATTACH ':memory:' AS dl (TYPE ducklake, DATA_INLINING_ROW_LIMIT 1000); memory D CREATE TABLE dl.test(id INTEGER, val TEXT); memory D INSERT INTO dl.test VALUES (1, 'a'), (2, 'b'), (3, 'c'); memory D BEGIN; memory D ALTER TABLE dl.test ALTER COLUMN id TYPE BIGINT; memory D UPDATE dl.test SET val = 'X' WHERE id = 1; ================================================================= ==83726==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160001cffb8 at pc 0x00010bf6c580 bp 0x00016f1a3cf0 sp 0x00016f1a3ce8 READ of size 1 at 0x6160001cffb8 thread T5 #0 0x00010bf6c57c in duckdb::LogicalType::operator==(duckdb::LogicalType const&) const types.cpp:2071 #1 0x000106c89ab8 in duckdb::StatisticsPropagator::CanPropagateCast(duckdb::LogicalType const&, duckdb::LogicalType const&) propagate_cast.cpp:31 #2 0x00010a635dcc in duckdb::TryCastTableFilter(duckdb::TableFilter const&, duckdb::MultiFileIndexMapping&, duckdb::LogicalType const&) multi_file_column_mapper.cpp:1014 duckdb#3 0x00010a632458 in duckdb::MultiFileColumnMapper::CreateFilters(std::__1::map<unsigned long long, std::__1::reference_wrapper<duckdb::TableFilter>, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, std::__1::reference_wrapper<duckdb::TableFilter>>>>&, duckdb::ResultColumnMapping&) multi_file_column_mapper.cpp:1104 ``` I don't have too much knowledge on `MultiFileColumnMapper`, but considering (1) the invalid memory access is 1 byte; (2) stacktrace code location more or less indicates its logical type reference stored within `MultiFileColumnMapper` gets invalid. Turning it into value fixes the ASAN complaint.
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.