Github user nagarajanchinnasamy commented on a diff in the pull request:
https://github.com/apache/drill/pull/685#discussion_r93267919
--- Diff: protocol/src/main/protobuf/UserBitShared.proto ---
@@ -320,3 +320,17 @@ message Jar {
repeated string function_signature = 2;
}
+
+/* Session parameter
+message SessionParam {
+ optional string key = 1;
+ optional string value = 2;
+}
+*/
+
+/* User session context that has session id and session parameters
+*/
+message UserSessionContextInformation {
+ optional string session_id = 1;
+ // repeated SessionParam session_params = 2
+}
--- End diff --
My understanding is that the various context information need to be
transportable (serializable and parcelable) for distributed query execution.
Hence made it a protobuf message. Pls let me know if my understanding is
incorrect.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---