How To Use Regex Replace function in Spark: regex_replace I Scala I Intellij

preview_player
Показать описание
This is a quick code along video that explains how to use spark regex_replace function. It shows how one and more characters can be replaced by different characters in a Spark dataframe.
Рекомендации по теме
Комментарии
Автор

I have a dataset with special letters like: Ã, ã, É, é...
And I want to replace than for the normal letter, for example: Ã, Â, Á, À, â, ã, à á for A.
And do this with all the special letters.
How can I do this using the regex?

arthurcortesrezende
Автор

Hi its giving an error like the column which iam passing in regex is of type array<string > but required is string, how can I resolve it.

Raj-qlvz