Skip to content

Conversation

@birschick-bq
Copy link
Contributor

This fix ensures the traceParent option is propagated from the Driver.Open to Database.Connect.

…eParent from the driver/database to connection
@birschick-bq birschick-bq requested a review from zeroshade as a code owner June 10, 2025 17:23
@github-actions github-actions bot added this to the ADBC Libraries 19 milestone Jun 10, 2025
@birschick-bq
Copy link
Contributor Author

@zeroshade / @lidavidm / @CurtHagenlocher
A small fix to handle the case when the traceParent option is passed in the Driver.Open call.

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

Sounds good. Is there any way we can add a test for this at all?

@birschick-bq
Copy link
Contributor Author

Sounds good. Is there any way we can add a test for this at all?

Sure. I'll add a test.

@birschick-bq
Copy link
Contributor Author

Sounds good. Is there any way we can add a test for this at all?

@zeroshade - I augmented an existing test TestNewDatabaseWithOptions to check that the database trace parent is propagated to the connection. Let me know if this is sufficient.

@zeroshade
Copy link
Member

Looks good to me! Thanks!

@birschick-bq
Copy link
Contributor Author

@zeroshade - Any hints on how I can get the Python tests to run without errors?
On my own repository, I'm able to re-run each step individually and they all complete successfully when run, one at a time.

I don't seem to be able to re-run an individual step in this repository.

@lidavidm
Copy link
Member

ah. Matt this is the flake I mentioned the other day that I think is somewhere in arrow-go :)

I kicked the jobs

@zeroshade
Copy link
Member

I'll try to look into the flake next week unless you're able to track it down lol

@birschick-bq
Copy link
Contributor Author

@zeroshade / @lidavidm - Would you be able to merge this change when you have a chance? Thanks.

@zeroshade zeroshade merged commit 224df19 into apache:main Jun 11, 2025
81 of 89 checks passed
@birschick-bq birschick-bq deleted the dev/birschick-bq/golang-traceparent-propagation branch June 11, 2025 17:26
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.

3 participants