• Databricks Community
  • Data Engineering
  • Re: SQL expr undefined function 'LEN'

daniel_sahal
daniel_sahal
Databricks MVP
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎07-30-2023 10:05 PM

@PhillT 
There's no "LEN" function. You should use "LENGTH" instead.

https://spark.apache.org/docs/2.3.0/api/sql/index.html#length

2 Kudos
Reply
Powered by Khoros