2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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?
répondu il y a 2 ans
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.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 2 mois
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
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