4paradigm / 4paradigm/OpenMLDB

`select into` may fail if `HADOOP_CONF_DIR` or `YARN_CONF_DIR` env are accidentally configured

オープン
#2,772 コメント 1 件 リアクション 0 件 担当者 1 名 @tobegit3hub が担当を希望しています GitHub で見る
bug wontfix
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**Bug Description**
`select into outfile '/tmp/out.csv'` may fail if the `HADOOP_CONF_DIR` or `YARN_CONF_DIR` environmental variables are accidentally configured and its `defaultfs` is `hdfs`.

**Expected Behavior**
For `outfile '/tmp/out.csv'`, users expect to write into local filesystems.
Possible solutions may be:
- add Q&A to show the potential issue
- guide users to specify 'file:///tmp/out.csv' to avoid the confusion

**Steps to Reproduce**

1.
2.
3.
4.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look at the code that handles 'select into outfile' parsing and path resolution, likely in the SQL engine or filesystem abstraction layer. Check how environment variables like HADOOP_CONF_DIR and YARN_CONF_DIR are read and how they affect the default filesystem. The fix may involve ensuring local file paths are not misinterpreted as HDFS, or improving error messages. Test by setting these environment variables and running a simple select into outfile command.

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

評価

技術スタック
hadoop
領域
backend, cli, databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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