[jdbc-v2] Metadata - getPrimaryKeys

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java

調査の方向性

Start by locating the JDBC v2 metadata implementation for getPrimaryKeys and how it reads system.tables.primary_key; the issue does not name a source file or test. Reproduce the behavior with a table whose sort key contains repeated values, then inspect the existing metadata tests. Done means getPrimaryKeys no longer reports a non-unique sort key as a primary key in the described cases, with a regression test covering repeated values.

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

説明

area:jdbc-metadata jdbc-v2
Description

getPrimaryKeys returns the table’s system.tables.primary_key (the sort key) as a primary key even when values repeat.
Longer term the driver probably shouldn’t report a non-unique sort key as a primary key.

The problem is that in some cases it is not expected to have non-unique values from this method .

主要言語
Java
スター
1.6k
フォーク
649
平均マージ
1日 20時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

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

ClickHouse/clickhouse-java のほかの issue

ClickHouse/clickhouse-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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