Skip to content

Commit

Permalink
Fixed SQL search for Wildcard IndexPattern
Browse files Browse the repository at this point in the history
Signed-off-by: Suchit Sahoo <suchsah@amazon.com>
  • Loading branch information
LDrago27 committed Aug 31, 2024
1 parent 0245540 commit 26df213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/query_enhancements/server/utils/facet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Facet {
const query: Query = request.body.query;
const { format, df } = request.body;
const params = {
body: { ...query },
body: { query: query.query },
...(format !== 'jdbc' && { format }),
};
const clientId = query.dataset?.dataSource?.id ?? df?.meta?.queryConfig?.dataSourceId;
Expand Down

0 comments on commit 26df213

Please sign in to comment.