Skip to content

Commit

Permalink
fix column names
Browse files Browse the repository at this point in the history
  • Loading branch information
briancao committed Oct 22, 2022
1 parent a320d65 commit 500a2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clickhouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function getEventDataColumnsQuery(column, columns) {
return arr;
}

arr.push(`${filter}(${getJsonField(column, key)}) as ${key}_${filter}`);
arr.push(`${filter}(${getJsonField(column, key)}) as "${filter}(${key})"`);

return arr;
}, []);
Expand Down

0 comments on commit 500a2b9

Please sign in to comment.