tidb查询数据混乱

你可以暂时先使用 spark jdbc 的方式写入:https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html