zhztheplayer commented on a change in pull request #1218: [CALCITE-3067] Splunk
Calcite adapter cannot parse right session keys from Splunk 7.2
URL: https://github.com/apache/calcite/pull/1218#discussion_r285488824
##########
File path:
splunk/src/main/java/org/apache/calcite/adapter/splunk/search/SplunkConnectionImpl.java
##########
@@ -58,7 +58,7 @@
private static final Pattern SESSION_KEY =
Pattern.compile(
- "<response>\\s*<sessionKey>([0-9a-f]+)</sessionKey>\\s*</response>");
+ "<sessionKey>(.+)<\\/sessionKey>");
Review comment:
If you meant to change the PR, you can update your own source branch
https://github.com/LastSmile732/calcite/tree/CALCITE-3067 then the PR should be
able to sync the changes automatically. This way you don't have to close and
file a new one.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services