Skip to content

Insert JSON string via BulkCopyInterface #311

Answered by DarkWanderer
plewam asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @plewam,

This error means that when ClickHouse.Client tried to SELECT * LIMIT 0 data from target table to determine column types, CH returned Tuple(_) instead of Json type for this column. Json support is experimental in ClickHouse itself, so the API has not yet stabilized - not much I can do about it client-side.

As a workaround, you can create a Materialized View which writes into target table and maps String to Json

See also #243

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@plewam
Comment options

Answer selected by plewam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants