[Bug] export data error
まだ誰も着手していません。
評価
調査の方向性
IoTDB 2.0.5 で失敗する export-data.sh コマンドを再現し、limit 1000 を使用した成功するクエリと比較します。SessionConnection.java:411 から開始し、Session.java:958、TableSession.java:57、ExportDataTable.java:130 を通る呼び出しを追跡します。示されている table-dialect のエクスポートが null-response exception なしで正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Search before asking
- I searched in the issues and found nothing similar.
Version
iotdb 2.0.5
RH9
Describe the bug and provide the minimal reproduce step
/usr/local/apache-iotdb-2.0.5/tools/export-data.sh -ft sql -pw '' -sql_dialect table -db nezha -table table -t /tmp/testIotdb/data
error msg:
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.apache.iotdb.service.rpc.thrift.TSExecuteStatementResp.getStatus()" because "execResp" is null
at org.apache.iotdb.session.SessionConnection.executeQueryStatement(SessionConnection.java:411)
at org.apache.iotdb.session.Session.executeStatementMayRedirect(Session.java:958)
at org.apache.iotdb.session.Session.executeQueryStatement(Session.java:943)
at org.apache.iotdb.session.TableSession.executeQueryStatement(TableSession.java:57)
at org.apache.iotdb.tool.data.ExportDataTable.exportBySql(ExportDataTable.java:130)
at org.apache.iotdb.tool.data.ExportData.main(ExportData.java:243)
but limit 1000 is success
/usr/local/apache-iotdb-2.0.5/tools/export-data.sh -ft sql -pw '' -sql_dialect table -db nezha -q “select * from table limit 1000” -t /tmp/testIotdb/data
desc table :
CREATE TABLE IF NOT EXISTS table(
time TIMESTAMP TIME,
effect_date TIMESTAMP FIELD,
content TEXT FIELD
);
What did you expect to see?
Successfully exported
What did you see instead?
Exception in thread
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
- 主要言語
- Java
- スター
- 6.4k
- フォーク
- 1.2k
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 152
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/iotdb のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
IoTDB Edge: stop-edge.sh does not stop its own process when IOTDB_HOME is set, and reports success オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
[Bug] findColumn throws NullPointerException instead of SQLException for an unknown column name オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
似ている issue
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful オープンarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100