Generic implementation of InsertIntoTable function from testing/commons.*

オープン
#11 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
database, testing

調査の方向性

まず testing/commons.* を読み、InsertIntoTable と現在の StdRow 定義を見つけます。ヘルパーがどのように列の値を導出しているか、また指定された列数の上限内でどのようなタプルベースの type-safe なインターフェースが実現可能かを確認します。ヘルパーが既存の StdRow スキーマを前提とせず、合意された汎用表現をサポートし、プロジェクトに対応するテストがある場合はそれらも追加されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

The current implementation assumes that the schema of the table follows StdRow. There can be a few enhancements to the implementation:

  1. Currently StdRow is implemented using std::vector. This can be changed to std::tuple, which will make the data to be inserted more type safe.
  2. Since a tuple cannot be traversed through a for loop, we may need to implement the function as a template. We can assume a limit on the number of columns.
主要言語
C++
スター
5
フォーク
8
平均マージ
2日 14時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/cpp-bigquery-odbc のほかの issue

googleapis/cpp-bigquery-odbc の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。