clickhouse
clickhouse copied to clipboard
Passing an apostrophe to values causes error
For an Array(String) column type passing an apostrophe within the string value causes an error
Could you please to show code example with this bug?
Steps to re-create:
- Create a table with a metaKey column with type Array(String)
- Perform an insert and pass an array value [“doesn’t work”] to the column metaKey
- See clickhouse error as the apostrophe isn’t correctly escaped
this can fix: https://github.com/TimonKK/clickhouse/commit/a60cbc0972e00d1c1db4dbc8a32f1d9e72801dc3
https://github.com/TimonKK/clickhouse/pull/134 will solve
merged (and included into tests), try on latest version