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

> Apache Arrow Flight 서버를 통해 제공되는 데이터에 대해 쿼리를 수행할 수 있습니다.

# arrowFlight

[Apache Arrow Flight](/ko/concepts/features/interfaces/arrowflight) 서버를 통해 제공되는 데이터에 대해 쿼리를 수행할 수 있습니다.

**구문**

```sql theme={null}
arrowFlight('host:port', 'dataset_name' [, 'username', 'password'])
```

**인수**

* `host:port` — Arrow Flight 서버의 주소입니다. [String](/ko/reference/data-types/string).
* `dataset_name` — Arrow Flight 서버에서 사용할 수 있는 데이터셋 또는 디스크립터의 이름입니다. [String](/ko/reference/data-types/string).
* `username` - 기본 HTTP 스타일 인증에 사용할 사용자 이름입니다.
* `password` - 기본 HTTP 스타일 인증에 사용할 비밀번호입니다.
  `username` 및 `password`를 지정하지 않으면 인증을 사용하지 않는다는 의미입니다
  (이는 Arrow Flight 서버가 이를 허용하는 경우에만 작동합니다).

**반환 값**

* 원격 데이터셋을 나타내는 테이블 객체입니다. 스키마(schema)는 Arrow Flight 응답에서 추론됩니다.

**예시**

```sql title="Query" theme={null}
SELECT * FROM arrowFlight('127.0.0.1:9005', 'sample_dataset') ORDER BY id;
```

```text title="Response" theme={null}
┌─id─┬─name────┬─value─┐
│  1 │ foo     │ 42.1  │
│  2 │ bar     │ 13.3  │
│  3 │ baz     │ 77.0  │
└────┴─────────┴───────┘
```

**관련 항목**

* [Arrow Flight](/ko/reference/engines/table-engines/integrations/arrowflight) 테이블 엔진
* [Apache Arrow Flight SQL](https://arrow.apache.org/docs/format/FlightSql.html)
