We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3787c9 commit 89f5d20Copy full SHA for 89f5d20
src/main/java/io/elastic/jdbc/QueryColumnNamesProvider.java
@@ -44,7 +44,7 @@ public JsonObject getMetaModel(JsonObject configuration) {
44
public JsonObject getColumns(JsonObject configuration) {
45
JsonObjectBuilder properties = Json.createObjectBuilder();
46
String sqlQuery = configuration.getString("sqlQuery");
47
- Pattern patternCheckCharacter = Pattern.compile("\\B@\\S+");
+ Pattern patternCheckCharacter = Pattern.compile(Utils.TEMPLATE_REGEXP);
48
Matcher matcherCheckCharacter = patternCheckCharacter.matcher(sqlQuery);
49
Pattern pattern = Pattern.compile(Utils.VARS_REGEXP);
50
Matcher matcher = pattern.matcher(sqlQuery);
0 commit comments