

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Tipe data yang didukung untuk tabel Iceberg di Athena
<a name="querying-iceberg-supported-data-types"></a>

Athena dapat menanyakan tabel Iceberg yang berisi tipe data berikut:

```
binary
boolean
date
decimal
double
float
int
list
long
map
string
struct
timestamp without time zone
```

Untuk informasi selengkapnya tentang jenis tabel Iceberg, lihat [halaman skema untuk Iceberg](https://iceberg.apache.org/docs/latest/schemas/) dalam dokumentasi Apache.

Tabel berikut menunjukkan hubungan antara tipe data Athena dan tipe data tabel Iceberg.



<table>
<thead>
  <tr><th>Jenis gunung es</th><th>Tipe Athena</th><th>Catatan</th></tr>
</thead>
<tbody>
  <tr><td><code>boolean</code></td><td><code>boolean</code></td><td></td></tr>
  <tr><td>-</td><td><code>tinyint</code></td><td>Tidak didukung untuk tabel Iceberg di Athena.</td></tr>
  <tr><td>-</td><td><code>smallint</code></td><td>Tidak didukung untuk tabel Iceberg di Athena.</td></tr>
  <tr><td><code>int</code></td><td><code>int</code></td><td>Dalam pernyataan Athena DHTML, tipe ini adalah. <code>INTEGER</code></td></tr>
  <tr><td><code>long</code></td><td><code>bigint</code></td><td></td></tr>
  <tr><td><code>double</code></td><td><code>double</code></td><td></td></tr>
  <tr><td><code>float</code></td><td><code>float</code></td><td></td></tr>
  <tr><td><code>decimal(P, S)</code></td><td><code>decimal(P, S)</code></td><td><code>P</code>adalah presisi, <code>S</code> adalah skala.</td></tr>
  <tr><td>-</td><td><code>char</code></td><td>Tidak didukung untuk tabel Iceberg di Athena.</td></tr>
  <tr><td><code>string</code></td><td><code>string</code></td><td>Dalam pernyataan Athena DHTML, tipe ini adalah. <code>VARCHAR</code></td></tr>
  <tr><td><code>binary</code></td><td><code>binary</code></td><td></td></tr>
  <tr><td><code>date</code></td><td><code>date</code></td><td></td></tr>
  <tr><td><code>time</code></td><td>-</td><td rowspan="3">Hanya stempel waktu Gunung Es (tanpa zona waktu) yang didukung untuk pernyataan Athena Iceberg DDL seperti<code>CREATE TABLE</code>, tetapi semua jenis stempel waktu dapat ditanyakan melalui Athena.</td></tr>
  <tr><td><code>timestamp</code></td><td><code>timestamp</code></td></tr>
  <tr><td><code>timestamptz</code></td><td><code>timestamptz</code></td></tr>
  <tr><td><code>list&lt;E&gt;</code></td><td><code>array</code></td><td></td></tr>
  <tr><td><code>map&lt;K,V&gt;</code></td><td><code>map</code></td><td></td></tr>
  <tr><td><code>struct&lt;...&gt;</code></td><td><code>struct</code></td><td></td></tr>
  <tr><td><code>fixed(L)</code></td><td>-</td><td><code>fixed(L)</code>Jenis ini saat ini tidak didukung di Athena.</td></tr>
</tbody>
</table>


Untuk informasi selengkapnya tentang tipe data di Athena, lihat. [Tipe data di Amazon Athena](data-types.md)