new feature needed : suport coroutine for co_yield c++20
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by reading the client.Select callback shown in the issue and the library's existing Select API. Define the scope of C++20 coroutine support for a callback that can co_yield blocks, then verify that the provided example compiles and behaves as intended.
Written by the indexing model from the issue text.
Description
client.Select("SELECT id, name FROM default.numbers", [] (const Block& block) -> std::generator<Block>
{
for (size_t i = 0; i < block.GetRowCount(); ++i) {
std::cout << block[0]->As<ColumnUInt64>()->At(i) << " "
<< block[1]->As<ColumnString>()->At(i) << "\n";
co_yield block ;
}
}
);
- Dominant language
- C
- Stars
- 388
- Forks
- 220
- Avg merge
- 1d 25m
- Merged PRs (30d)
- 16
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/clickhouse-cpp
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainers usually reply within 1 day
-
bug queries
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
ClickHouse/clickhouse-cpp#644 ·
Maintainers usually reply within 1 day
-
bug data-types native-format
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ClickHouse/clickhouse-cpp#643 ·
Maintainers usually reply within 1 day
-
bug connectivity native-protocol
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-cpp#638 ·
Maintainers usually reply within 1 day
-
Core SQL test harness: ParseSetAssignments does not skip comments inside SETPossibly taken @puretechteam claimed this 12 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ClickHouse/clickhouse-cpp#626 · 1 comment ·
Maintainers usually reply within 1 day
All issues in ClickHouse/clickhouse-cpp
Similar issues
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
389ds/389-ds-base#8251 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100