2 Answers
- Newest
- Most votes
- Most comments
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?
answered 2 years ago
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.
answered 2 years ago
Relevant content
- asked 3 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
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