Skip to content

Conversation

dentiny
Copy link

@dentiny dentiny commented Oct 20, 2025

It reads to me, the telemetry reported extension name should be "airport" instead of "bitfilter".

std::string AirportExtension::Version() const
{
return "user-agent=" + airport_user_agent() + ",client=" + AIRPORT_EXTENSION_VERSION;
return StringUtil::Format("user-agent=%s,client=%s", airport_user_agent(), AIRPORT_EXTENSION_VERSION);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current implementation creates multiple temporary strings, using string format yields better performance.

@dentiny dentiny force-pushed the hjiang/fix-telemetry-report branch from c32d9ef to 9d56ff3 Compare October 21, 2025 00:04
@rustyconover
Copy link
Collaborator

Thank you very much @dentiny! I've pushed the release into the DuckDB CI pipeline and it should be out in a few hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants