Skip to content

feat(go/adbc/driver/flightsql): propagate cookies to sub-clients#1497

Merged
lidavidm merged 2 commits intoapache:mainfrom
zeroshade:propagate-cookies
Jan 30, 2024
Merged

feat(go/adbc/driver/flightsql): propagate cookies to sub-clients#1497
lidavidm merged 2 commits intoapache:mainfrom
zeroshade:propagate-cookies

Conversation

@zeroshade
Copy link
Copy Markdown
Member

Closes #1194

This also bumps our dependency up to arrow v16

@zeroshade zeroshade requested a review from lidavidm January 29, 2024 20:53
@github-actions github-actions bot added this to the ADBC Libraries 0.10.0 milestone Jan 29, 2024
@paleolimbot
Copy link
Copy Markdown
Member

Thanks for the R changes...before 0.10.0 / Arrow 16 I will try to update arrow/go so that go mod vendor doesn't skip those file!

ts.addr = "grpc://" + suite.s.Addr().String()
}

func (suite *CookieTests) TestCookieUsage() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we add a specific test to make sure the token/cookies are copied?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm, the client cache isn't shared between metadata/data? Looks like not. That may be something we want to fix in the future so this test may be a little unstable in that case.

@lidavidm lidavidm merged commit 7607a31 into apache:main Jan 30, 2024
@zeroshade zeroshade deleted the propagate-cookies branch January 30, 2024 21:11
soumyadsanyal pushed a commit to soumyadsanyal/arrow-adbc that referenced this pull request Jan 31, 2024
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.

go/adbc/driver/flightsql: When CookiesMiddleware is enabled, DO_GET requests have a different set of cookies

3 participants