> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> One フォーマットに関するドキュメント

# One

| 入力 | 出力 | エイリアス |
| -- | -- | ----- |
| ✔  | ✗  |       |

<div id="description">
  ## 説明
</div>

`One` フォーマットは特別な入力フォーマットで、ファイルからデータを一切読み込まず、[`UInt8`](/ja/reference/data-types/int-uint) 型の `dummy` という名前のカラムと値 `0` を持つ 1 行だけを返します (`system.one` テーブルと同様です) 。
実際のデータを読み込むことなく、仮想カラム `_file/_path` と組み合わせて使用することで、すべてのファイルを一覧表示できます。

<div id="example-usage">
  ## 使用例
</div>

例：

```sql title="Query" theme={null}
SELECT _file FROM file('path/to/files/data*', One);
```

```text title="Response" theme={null}
┌─_file────┐
│ data.csv │
└──────────┘
┌─_file──────┐
│ data.jsonl │
└────────────┘
┌─_file────┐
│ data.tsv │
└──────────┘
┌─_file────────┐
│ data.parquet │
└──────────────┘
```

<div id="format-settings">
  ## フォーマット設定
</div>
