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_r285438496
##########
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:
Yes, please use that one. Thanks for your explanation. :)
----------------------------------------------------------------
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