Amazon Redshift non supporterà più la creazione di nuove UDF Python a partire dal 1º novembre 2025. Se desideri utilizzare le UDF Python, creale prima di tale data. Le UDF Python esistenti continueranno a funzionare normalmente. Per ulteriori informazioni, consulta il post del blog
Tipi di dati supportati con le tabelle Apache Iceberg
In questo argomento vengono descritti i tipi di dati supportati che Redshift Spectrum può leggere dalle tabelle in formato Apache Iceberg.
Amazon Redshift può eseguire query su tabelle Iceberg che contengono i seguenti tipi di dati:
binary boolean date decimal double float int list long map string struct timestamp without time zone
Per ulteriori informazioni sui tipi di tabella Iceberg, consulta Schemi per Iceberg
La tabella riportata di seguito mostra la relazione tra i tipi di dati Amazon Redshift e i tipi di dati della tabella Iceberg.
| Tipo Iceberg | Tipo di Amazon Redshift | Note |
|---|---|---|
boolean |
boolean |
|
| - | tinyint |
Non supportato per le tabelle Iceberg. |
| - | smallint |
|
int |
int |
|
long |
bigint |
|
double |
double precision |
|
float |
real |
|
decimal(P, S) |
decimal(P, S) |
P è precisione, S è scala. |
| - | char |
|
string |
varchar(16384) |
Le stringhe più grandi di 16384 vengono troncate in 16384. |
binary |
varbyte(64000) |
|
date |
date |
|
time |
- | |
timestamp |
timestamp |
|
timestamptz |
timestamp |
|
list<E> |
SUPER |
|
map<K,V> |
SUPER |
|
struct<...> |
SUPER |
|
fixed(L) |
- | Il tipo fixed(L) non è attualmente supportato in Redshift Spectrum. |
uuid |
- | Il tipo uuid non è attualmente supportato in Redshift Spectrum. |
variant |
- | Amazon Redshift non supporta Iceberg V3. |
geometry |
- | Amazon Redshift non supporta Iceberg V3. |
geography |
- | Amazon Redshift non supporta Iceberg V3. |
timestamp_ns |
- | Amazon Redshift non supporta Iceberg V3. |
timestamptz_ns |
- | Amazon Redshift non supporta Iceberg V3. |
Unknown |
- | Amazon Redshift non supporta Iceberg V3. |
Per ulteriori informazioni sui tipi di dati di Amazon Redshift, consultare Tipi di dati.