Skip to content

Commit ff37778

Browse files
dtunikovCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent b872fbb commit ff37778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow/connectors/mysql/type_conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
func QkindFromMysqlColumnType(ct string, binlogRowMetadataSupported bool, version uint32) (types.QValueKind, error) {
1414
if mysql_validation.IsCompressedColumnType(ct) {
15-
return types.QValueKind(""), fmt.Errorf("MariaDB COMPRESSED columns are not supported: %s", ct)
15+
return types.QValueKindInvalid, fmt.Errorf("MariaDB COMPRESSED columns are not supported: %s", ct)
1616
}
1717
// https://mariadb.com/docs/server/reference/data-types/date-and-time-data-types/timestamp#tab-current-1
1818
ct, _ = strings.CutSuffix(ct, " /* mariadb-5.3 */")

0 commit comments

Comments
 (0)