1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hello,
In Athena, values enclosed within single quotes represent string
values. I checked through table details and could see column 'MATERIAL_DOCUMENT_YEAR' is defined as decimal(4,0)
and thus the error.
To fix this, you can consider any one of the below approaches:
where MATERIAL_DOCUMENT_YEAR = 2021
Or
where MATERIAL_DOCUMENT_YEAR = decimal '2021'
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr