From e3099aa2b2ec2a57906764b7b1ea4bd572a417eb Mon Sep 17 00:00:00 2001 From: Rafael Date: Mon, 16 Mar 2026 10:17:56 -0300 Subject: [PATCH] FIX: uppercase table_name and table_schema in ES lookup Co-Authored-By: Claude Opus 4.6 --- src/services/elasticsearch/elasticsearch.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/elasticsearch/elasticsearch.service.ts b/src/services/elasticsearch/elasticsearch.service.ts index 8e2dfe7..ab2791a 100644 --- a/src/services/elasticsearch/elasticsearch.service.ts +++ b/src/services/elasticsearch/elasticsearch.service.ts @@ -380,8 +380,8 @@ export class ElasticsearchService { query: { bool: { must: [ - { term: { 'table_name.keyword': tableName } }, - { term: { 'table_schema.keyword': tableSchema } }, + { term: { 'table_name.keyword': tableName.toUpperCase() } }, + { term: { 'table_schema.keyword': tableSchema.toUpperCase() } }, ], }, },