Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Can't run ParquetMR tests in IDEs

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java

調査の方向性

まず、org.apache.parquet.VersionTest から始めて、ParquetMR のセルフテストで IntelliJ の失敗を再現します。parquet-column/src/main/java/org/apache/parquet/io/MessageColumnIO.java と、Maven によって生成された IncrementallyUpdatedFilterPredicateBuilder を調査します。セルフテストを IntelliJ でシンボルが不足することなく開き、実行し、デバッグできれば完了です。

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

説明

Component: Parquet Component: Testing Priority: Blocker Type: bug

ParquetMR contains a suite of self-tests. When one of those self-tests fails, it would be nice to be able to pull up the test in an IDE like IntelliJ. Then we can use the debugger and track down what the problem is. Unfortunately, this is impossible due to some unfortunate design choices.

If I open a test source file in IntelliJ and tell the IDE to run it, the first errors I get is a bunch of errors in org.apache.parquet.VersionTest, which evidently cannot find a bunch of symbols. If I hack VersionTest to no longer depend on those symbols, the next thing that happens is this error:


/home/theosib/packages/PARQUET-2069/parquet-mr/parquet-column/src/main/java/org/apache/parquet/io/MessageColumnIO.java:43:46
java: cannot find symbol
  symbol:   class IncrementallyUpdatedFilterPredicateBuilder
  location: package org.apache.parquet.filter2.recordlevel

Evidently, IncrementallyUpdatedFilterPredicateBuilder doesn't exist. Instead, it is auto-generated during the maven build process, but the code is stashed away somewhere where IntelliJ can't find it, and this is the end of the road.

If we want more people to be able to contribute to ParquetMR, I think we should work towards making it easier to debug.

Environment: In my case, IntelliJ IDEA.
Reporter: Timothy Miller / @theosib-amazon

Note: This issue was originally created as PARQUET-2147. Please see the migration documentation for further details.

主要言語
Python
スター
90
フォーク
79
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

apache/parquet-testing のほかの issue

apache/parquet-testing の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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