Test that an index over the @CaseInsensitive copy serves the lookup on each store

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
40/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, python

調査の方向性

Start from the golden statements and index DDL added in #364, which pin the ignore-case lookup over the __drivine.lower.<prop> copy, and from the reference EXPLAIN checks in drivine4j #149. For each store (Neo4j, Memgraph, FalkorDB, Postgres, Oracle), add a test that runs the lookup's plan and asserts the index over the copy is used, starting with Postgres since it's the easiest to run locally. Done means each engine's plan check passes and fails if the index is dropped; Oracle should check that the labelled-index read is used.

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

説明

enhancement

Follow-up from the review of #364 (Port of liberation-data/drivine4j#149).

drivine4j #149 has a test per engine that asks the store's plan (EXPLAIN) whether an ignore-case lookup uses the index over the __drivine.lower.<prop> copy ("an index over the copy serves the lookup"). This port pins the lookup statements and the index DDL in the golden statements, but no test asks the engine whether it actually uses the index, so a change that stops the store from using it would pass.

Port drivine4j's plan checks for Neo4j, Memgraph, FalkorDB, Postgres and Oracle. On Oracle, check that the labelled-index read is used.

主要言語
Python
スター
1
フォーク
0
平均マージ
1時間 53分
マージ済み PR(30日)
157

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

liberation-data/drivine-python のほかの issue

liberation-data/drivine-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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