-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-34865: [C++][Java][Flight RPC] Add Session management messages #34817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lidavidm
merged 195 commits into
apache:main
from
indigophox:flight-sql-session-management
Feb 20, 2024
Merged
Changes from all commits
Commits
Show all changes
195 commits
Select commit
Hold shift + click to select a range
7a41c5f
Add Session management messages, Location URI path accessors
jduo dbbc829
Address PR feedback
6738a49
Remove non-const references
7757c33
Add partial (some gaps) ServerSessionMiddleware impl
4d7e4a0
Initial StartCall impl, etc.
a6d2899
Prelim impl ServerSessionMWFactory locking
360f23b
Untested initial middleware impl
672a266
Rename lock_ and remove duplicitous comments
9194302
Make code build
888ff22
Fix server set-cookie header name
3326ad8
Remove/revert abandoned Location changes
6041b28
[BUILDS] Move Session messages to Flight PB
ad0afab
Change Proto to use map of Session options
66ad805
FSQL Client: Use SessionOptions PB Map
d6005a1
FSQL Server: Use SessionOptions PB Map (incomplete?)
55c198d
[Builds] Fix build errors
afbe366
[BUILDS] Use visitors to convert SessionOptionValue->Proto
0f8d8c0
Change to string_view for interfaces
bd8095c
WIP: High-level design review ONLY
7ede0b3
WIP: impl *::Deserialize()
d07c91c
WIP: ~finish flight/types.cc & serialization_internal.h
577ed91
WIP: Update some temporary comments
9414dc6
Impl FromProto(SessionOptionValue...)
7225a5e
Random WIP checkpoint
e2b4133
WIP: Finished serialization_internal.cc ?
5c85558
WIP: Remove 'Action' prefix from Proto messages
b5e37ac
Reduce long Proto nested enum names
6e7dff8
Indentation etc.
9d5d01f
Update to 'Status' enums in Proto
dea4a82
WIP: More replacement of Result with Status for enums
0620d38
WIP: Even more replacement of Result with Status for enums
15f5bf7
WIP: Even MORE replacement of Result with Status for enums
a6d60f1
Formatting & remove erroneous 'static'
433d9bc
Typos
e9e796a
Add new SetSessionOption statuses to Proto
f8d0e72
Fixup flight/client.*
001ab4a
Fix name change + remove temporary comments
071c42f
Move lambda overload helpers around & other cleanup
abfbec6
Fixed all but 1 build error
c234edd
Fix last build issue
01fdb18
[builds] Remote extraneous comments
1f2262c
[builds] Some PR fixups
69f35ec
[builds] More PR feedback
5b2cee7
[builds] More PR feedback
2affc0b
[builds] Fix linter errors
8c3aac9
[builds] clang-format
1eaf15a
[builds] Add missing include
6a53fba
[builds] Fix clang-format{14,17} differences
91c9e17
[builds] Add missed change from previous
16d8506
[builds] C++ docs fixup
3f4b6a2
Add Protobuf docstrings & rename Flight session cookie
d0f383c
[builds] Remove unused Proto import
29d12dd
Fixes for @stevelorddremio's feedback
cbe3478
Revert extraneous linter changes
f391ea9
More PR feedback resolution
df0652b
More PR feedback
ad6ffd3
More PR feedback
14ee82d
[builds] More PR fixups
c541924
PR feedback
98e2234
PR feedback
345c2be
PR feedback
45e1f7c
Refactor to facilitate proper make_shared
992d9f0
[builds] Finish refactor to use map.find()
75d0c4e
Remove extraneous using namespace
13afc00
[builds] Factor out session ID generation & remove Boost
b56f21d
[builds] make GetNewSession return std::pair
20acab6
[builds] Fix argument forwarding for FlightSqlSession::SetSessionOption
76c21f5
[builds] Docs fixup
a9c45cf
[builds] move SetSessionOptionsResult status to estensible nested msg
498867b
[builds] Remove Result<> wrapper from GetSessionOption
457ebf2
[builds] PR feedback fixups
8ea8911
[builds] PR feedback fixups
dfccca7
[builds] Add virtual default destructor to ServerSessionMiddleware
41c04be
[builds] Fix CI linter issues.
411203c
[builds] Fix abstract subclass ServerSessionMiddleware.
4117a4f
[builds] WHOOPS: Fix tangled/redundant Session ActionTypes
c33d4cb
[builds] CI fixups
5cc856b
[builds] Remove redundant branch
a0f9e5f
[builds] Fix reader/writer locks
baef34a
[builds] Remove extraneous include
f349a34
Apply @kou suggestions from code review
indigophox a622032
[builds] More @kou feedback integrated
54175aa
[builds] Fix docs
722db0f
[builds] PR feedback
66310eb
[builds] Return {"",NULLPTR} on id generation collision
e1a62fa
[builds] linter
71c1082
[builds] copy to proto repeated string value using iterator
0163d6e
[builds] (partial?) fix for ParseCookieString, pending testing
4e541f7
[builds] fixup
4a3ea95
[builds] fixup
f29ea91
[builds] grrrr CI grrrr
4b9c13d
[builds] Revert iterator-copy not supported by CI PB libs
8bc0de5
Add some testing
3b82b7a
oops
6d48c72
grrr linter
bb52798
grrr linter
9230573
grrrr linter
02b5998
grrrr linter
01fd559
[builds] Remove extraneous SessionOptions type tests
28c9b31
Typo fix
44cb613
[Java WIP] Add ActionTypes & some SessionOptionValue types
7e5b5c2
+some docs
b6eca04
+some docs
8d72dde
+some docs
35852fd
Add some partially/fully implemented POJO message types
5de1455
Add method skeleton
67b1a7f
WIP: Java: add serde + POJO classes
b788119
Fixup
c152ec2
Change SetSessionOptionResult (Proto) to error-only behaviour
2f174f0
[builds] Update C++ to error-only SetSessionOptionsResult
1e79b9c
WIP: pseudo-complete Java impl
31ceb71
Fix some checkstyle errors
ebca8c2
Fix some more checkstyle errors
a73e8d2
checkpoint
fa73314
checkpoint
e6406cb
checkpoint - should be working but...
50bb521
[builds] Prelim Java implementation
e58742e
[builds] Prelim Java implementation
bc22b80
[Java WIP]: Add nullable SessionOptionValue
0df83a6
fixup
09c4369
[C++][builds] Add unset SessionOptionValue functionality
03da012
[C++ builds][Java builds] typos/etc
2bcc721
Add Proto comment re: nullability
93e974c
[C++][builds] Add braces
479300a
[C++][builds] Tiny refactor
57f5ed3
Update Proto comments re: HTTP-cookies-or-similar
90f1f81
checkpoint
c8ee267
[Java builds] fixups
5b587db
[Java builds] Add ServerSessionMiddleware.java
23e71c3
Fixup
f90f09e
checkpoint
f9afd1c
checkpoint
6d3f2c0
checkpoint
6d77693
checkpoint
a00cf2a
[Java builds] Add initial Java integration tests
f473c79
[C++] clang-format fixups
55c200b
[C++] clang-format fixup
5e1306a
[Java builds] Add and fix initial working Java integration test
cceff95
[Java builds] Expand SessionOptionsProducer to facilitate more tests
e4ea62f
WIP
91337d8
checkpoint
261be03
[Java builds & passes] fix up integration tests & related code
e171643
[Java builds & passes] Fix & add Unicode integration test coverage
ca2a1e4
[Java builds & passes] ServerSessionMiddleware.CloseSession: expire c…
cf5f74f
[Java builds & passes] Finish Java integration tests
0baa248
[C++ builds] Factor ServerSessionMiddleware to separate header for te…
c7975ec
[temp] Add dummy C++ unit test
e17d0db
[temp][fixup] Add dummy C++ unit test
55c6864
[temp][linter fixup] Add dummy C++ unit test
c7f7dec
Fix Java build errors & dependencies
a200fea
[Java builds][C++ builds] Extricate int32 & float
62bc378
[Java builds][C++ builds] Add NoOpSessionOptionValueVisitor
82bc842
Test adding Flight C++ unit test
1e45e44
Test #2 adding Flight C++ unit test
9630c13
Test #3 adding Flight C++ unit test
59001cf
Test #4 adding Flight C++ unit test
24efb90
Test #5 adding Flight C++ unit test
e69c7ec
[C++ builds] added tautological failure to arrow-flight-sql-test
9e48793
[C++ builds] Add C++ ServerSessionMiddleware cookie parsing test
b68800d
[C++ builds] Probably fix Win64 C++ CI build linker error
6cd8ce6
Revert "[C++ builds] Probably fix Win64 C++ CI build linker error"
dbce9ce
[C++ builds] CI linter fixups
f11e997
[C++ builds] Linter + linker fixups
ec26615
[Docs] Doc fixup
565a79c
[C++ builds][Java builds] PR feedback etc
82be14d
Guessed workaround for opaque CMake linter error
6d27c34
Remove extraneous whitespace in CMakeLists.txt
39e21a7
[C++ builds] checkpoint
4134aa0
[C++ builds] checkpoint
b5bf2ab
[C++ builds] checkpoint
26ffb8a
[C++ builds] checkpoint
0f8fae3
[C++ builds] BUG CHECKPOINT
028f0a5
[C++ builds] Add session cookie expiry
95d0499
[Java builds] Fix NoOpSessionOptionValueVisitor iface
e83c8bb
[C++ builds & passes] Bodge around middleware gap
3904ce7
[C++ builds] remove debug spew
1b6840f
[C++ builds & passes] Update middleware & tests
61a2a3f
[C++ builds & passes] CI linter fixups
5f60981
Docstring
9f6c024
Fix CMake lint error
91fb77d
[Java builds & passes] Remove Java integration tests that won't work …
4aa5b3c
Add docs
20286a1
Add session_options to Archery integration testing
b71edf5
Fix imports
1078d47
Exclude session_options go test
07ac419
Docs touchup
270c152
[Builds & passes] naming consistency fix
a1d19dc
[Builds & passes] Docstring fixups
33d66c4
Address PR feedback
591281a
Update Protobuf enum comments
58381ba
Linter fixups & rebase
042a193
Factor out addMiddlewareHeaders
60c1298
Refactor GrpcServiceHandler::GetFlightInfo() to use addMiddlewareHead…
f80b941
PR feedback
265e5e8
PR feedback
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.