2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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?
답변함 2년 전
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.
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 3년 전
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