Tianhan Hu created SPARK-43362: ---------------------------------- Summary: Special handling of JSON type for MySQL connector Key: SPARK-43362 URL: https://issues.apache.org/jira/browse/SPARK-43362 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.4.0 Reporter: Tianhan Hu
MySQL JSON type is converted into JDBC {{VARCHAR}} type with precision of -1 on some MariaDB drivers. When receiving {{VARCHAR}} with negative precision, Spark will throw an error. This ticket purposes to special case this scenario by directly converting JSON type into StringType in MySQLDialect. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org