I've a filename column, I want to extract its name and extensions so that another logic could be apply over it.
Since, datavolumne is high which is why I am choosing regexp solution over the generic sql function
Sample Data:
Sample.file.07.mar.2017.pdf
File.without.its.extension
Expected output:
_________________________________________
Name_only | Extension
_________________________________________
Sample.file.07.mar.2017 | pdf
File.without.its.extension |
_________________________________________