2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
2
the problem is probably somewhere else as "length" is indeed a spark sql function
https://spark.apache.org/docs/latest/api/sql/#length
can you please post the whole SQL statement you're trying to execute?
respondido hace 2 años
1
Length is indeed a valid method, and the correct latest documentation link is here: https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.sql.functions.length.html
Please provide a code snippet to resolve your question.
respondido hace 2 años
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año
I rechecked the code and found that athena syntax was left for date conversion in length function, which was causing the issue, now the query runs