Skip to content

Commit ae39e29

Browse files
committed
nit
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
1 parent ba150bb commit ae39e29

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/duckdb/src/table/duckdb-table-utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ export function castDuckDBTypesForKepler(
108108
): string {
109109
const modifiedColumns = columns.map(column => {
110110
const {name, type} = column;
111-
const quotedName = quoteColumnName(name);
111+
const quotedColumnName = quoteColumnName(name);
112112
if (type === 'GEOMETRY' && options.geometryToWKB) {
113-
return `ST_AsWKB(${quotedName}) as ${quotedName}`;
113+
return `ST_AsWKB(${quotedColumnName}) as ${quotedColumnName}`;
114114
} else if (type === 'BIGINT' && options.bigIntToDouble) {
115-
return `CAST(${quotedName} AS DOUBLE) as ${quotedName}`;
115+
return `CAST(${quotedColumnName} AS DOUBLE) as ${quotedColumnName}`;
116116
}
117-
return quotedName;
117+
return quotedColumnName;
118118
});
119119

120120
const quotedTableName = quoteTableName(tableName);

0 commit comments

Comments
 (0)