spark sql mysql export data to appear BLOB type

The reason: When you create a data selection utf8-bin coding, resulting string type of deposit is automatically created when the spark sql database as a binary type

Solution: Use difference utf8-general-ci coding of: https://www.jb51.net/article/48775.htm

Guess you like

Origin www.cnblogs.com/javazyh/p/12049707.html