FIX: uppercase table_name and table_schema in ES lookup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Rafael
2026-03-16 10:17:56 -03:00
co-authored by Claude Opus 4.6
parent 12c61d9b5d
commit e3099aa2b2
@@ -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() } },
],
},
},