2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
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 há 2 anos
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 há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
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