External Data

Open
#67 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
api, databases

Research direction

Start by reading the ClickHouse.Driver API and comparing the requested behavior with the mentioned Command.ExternalTables property. Review the existing HttpClient approach using _structure and _format=CSV URL parameters with CSV in FormData, and determine the API shape needed for external tables in SELECT or INSERT queries. Done means the supported behavior and an example are clearly defined.

Written by the indexing model from the issue text.

Description

Hi!
Is it possible to use External Data tables through ClickHouse.Driver?

Previously, I used HttpClient directly and added something like that into the URL
"string.Format("&{0}_structure={1}&{0}_format=CSV", TableName, GetDataStructure())", then main data went into FormData as CSV attachment.
This approach allows to send temp tables data with the main SELECT or INSERT query, and I need it as oxygen.

I see that third party libraries have a property for this Command.ExternalTables, but I don't see something similar here. Could you help with an example or advice?

Thanks in advance.

Dominant language
C#
Stars
100
Forks
26
Avg merge
20h 24m
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ClickHouse/clickhouse-cs

All issues in ClickHouse/clickhouse-cs

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.