fix: link error on linux with multiple definition of LogicalType::VARCHAR in shell_renderer.cpp#20096
Merged
lnkuiper merged 1 commit intoduckdb:mainfrom Dec 11, 2025
Conversation
Contributor
Author
|
DuckDB team, these CI failures seem unrelated. |
Collaborator
|
Thanks! |
github-actions bot
pushed a commit
to duckdb/duckdb-r
that referenced
this pull request
Feb 16, 2026
Remove pointer indirection in ExtensionAccess (duckdb/duckdb#19529) fix: link error on linux with multiple definition of LogicalType::VARCHAR in `shell_renderer.cpp` (duckdb/duckdb#20096) Internal duckdb/duckdb#6777: IEJoin Unified L1/2 (duckdb/duckdb#20083)
github-actions bot
added a commit
to duckdb/duckdb-r
that referenced
this pull request
Feb 16, 2026
Remove pointer indirection in ExtensionAccess (duckdb/duckdb#19529) fix: link error on linux with multiple definition of LogicalType::VARCHAR in `shell_renderer.cpp` (duckdb/duckdb#20096) Internal duckdb/duckdb#6777: IEJoin Unified L1/2 (duckdb/duckdb#20083) Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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.
Hi DuckDB Team,
When I used Linux to build the main branch of DuckDB with my
adbc_scannerextension I often encountered this link error in CI. This PR resolves it by not usingLogicalType::VARCHARinstead usingLogicalType(LogicalTypeId::VARCHAR). The code that is changed is inshell_renderer.cppso not anywhere in my extension code. With this change the compilation succeeds.Build error:
Distro information: Amazon Linux 2023 on AWS
Linux ip-172-16-3-91.ec2.internal 6.1.158-178.288.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Nov 3 18:38:36 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
I only knew how to resolve it from past patterns where I've seen the same problem in other extensions.
You can see a full build failure here:
https://github.com/Query-farm/adbc_scanner/actions/runs/20048370767/job/57498881373
Thanks,
Rusty