mirror of https://github.com/buster-so/buster.git
Convert column names to lowercase in metrics file creation tools
Co-authored-by: dallin <dallin@buster.so>
This commit is contained in:
parent
9b18e791ac
commit
0f97741e52
|
@ -153,7 +153,7 @@ function createDataMetadata(results: Record<string, unknown>[]): DataMetadata {
|
||||||
const uniqueValues = new Set(values).size;
|
const uniqueValues = new Set(values).size;
|
||||||
|
|
||||||
columnMetadata.push({
|
columnMetadata.push({
|
||||||
name: columnName,
|
name: columnName.toLowerCase(),
|
||||||
min_value: minValue,
|
min_value: minValue,
|
||||||
max_value: maxValue,
|
max_value: maxValue,
|
||||||
unique_values: uniqueValues,
|
unique_values: uniqueValues,
|
||||||
|
|
|
@ -145,7 +145,7 @@ function createDataMetadata(results: Record<string, unknown>[]): DataMetadata {
|
||||||
const uniqueValues = new Set(values).size;
|
const uniqueValues = new Set(values).size;
|
||||||
|
|
||||||
columnMetadata.push({
|
columnMetadata.push({
|
||||||
name: columnName,
|
name: columnName.toLowerCase(),
|
||||||
min_value: minValue,
|
min_value: minValue,
|
||||||
max_value: maxValue,
|
max_value: maxValue,
|
||||||
unique_values: uniqueValues,
|
unique_values: uniqueValues,
|
||||||
|
|
Loading…
Reference in New Issue