Merge pull request #437 from buster-so/cursor/ensure-column-names-are-lowercase-c2cf

Ensure column names are lowercase in data metadata for casing reliability
This commit is contained in:
dal 2025-07-08 10:36:59 -07:00 committed by GitHub
commit 9e34458432
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ function createDataMetadata(results: Record<string, unknown>[]): DataMetadata {
const uniqueValues = new Set(values).size;
columnMetadata.push({
name: columnName,
name: columnName.toLowerCase(),
min_value: minValue,
max_value: maxValue,
unique_values: uniqueValues,

View File

@ -145,7 +145,7 @@ function createDataMetadata(results: Record<string, unknown>[]): DataMetadata {
const uniqueValues = new Set(values).size;
columnMetadata.push({
name: columnName,
name: columnName.toLowerCase(),
min_value: minValue,
max_value: maxValue,
unique_values: uniqueValues,