Get Hands-on with Amazon EKS - Workshop Event Series
Whether you're taking your first steps with Kubernetes or you're an experienced practitioner looking to sharpen your skills, our Amazon EKS workshop series delivers practical, real-world experience that moves you forward. Learn directly from AWS solutions architects and EKS specialists through hands-on sessions designed to build your confidence with Kubernetes. Register now and start building with Amazon EKS!
¿Cómo soluciono este error de sintaxis en Amazon Athena?
1 minutos de lectura
0
Cuando ejecuto una operación de SELECT en Amazon Athena, aparece un error de sintaxis que indica que "la función no está registrada".
Resolución
Si intenta usar una función que Athena no admite, recibirá un error similar a uno de los siguientes mensajes:
"SYNTAX_ERROR: line 1:8: Función function_name not registered"
"FUNCTION_NOT_FOUND: line 1:8: Función 'function_name' not registered"
Para obtener una lista de las funciones compatibles con Athena, consulte Funciones en Amazon Athena. O bien, ejecute la instrucción MOSTRAR FUNCIONES.
Ejemplo de fragmento de salida:
Function Return Type Argument Types Function Type Deterministic Description
1 abs bigint bigint scalar true absolute value
2 abs decimal(p,s) decimal(p,s) scalar true absolute value
3 abs double double