Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to insert data of Map. #145

Open
lovelytan opened this issue Mar 24, 2023 · 0 comments
Open

Unable to insert data of Map. #145

lovelytan opened this issue Mar 24, 2023 · 0 comments

Comments

@lovelytan
Copy link

CREATE TABLE IF NOT EXISTS db_ide.test (
    id Int8,
    data Map(String, String)
) ENGINE = MergeTree
ORDER BY (id);
  await clickhouse.insert(
    `insert into db.test (id, data)`,
    {
      id: 11,
      data: {a : '123'}
    }
  ).toPromise()

result: Failed to insert data. it's empty in database;

ps. this merge resolved #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant