superset 连接Postgrelsql或者GuassDB200查询含有中文的字段,字符编码ascii报错:
SQLAlchemy URI:postgresql://root:root@192.168.0.239:5432/postgres
可以在连接后边上client_encoding=auto解决!!!
postgresql://root:root@192.168.0.239:5432/postgres?client_encoding=auto
本文介绍如何解决在使用Superset连接PostgreSQL或GuassDB200时查询含有中文字段出现的ASCII编码错误问题。通过在SQLAlchemy URI中添加client_encoding=auto参数,可以有效解决该问题。
superset 连接Postgrelsql或者GuassDB200查询含有中文的字段,字符编码ascii报错:
SQLAlchemy URI:postgresql://root:root@192.168.0.239:5432/postgres
可以在连接后边上client_encoding=auto解决!!!
postgresql://root:root@192.168.0.239:5432/postgres?client_encoding=auto
3245
952

被折叠的 条评论
为什么被折叠?