Hello,
According to Dremio documentation in https://docs.dremio.com/sql-reference/sql-functions/functions/SPLIT_PART/?parent=all-functions , if part_number is negative, the parts are counted backwards from the end of the string. However, if I run split_part(A.A.A,’.’,-1)
I get the following error:
GandivaException: Index in split_part must be positive, value provided was -1.
Am I missing something?
Thank you,
Marcos