Skip to content

invalid type: double since 1.13.5 #6610

@attrib

Description

@attrib

Getting a error since dolthub/dolt-sql-server:1.13.5 (also fails for dolthub/dolt-sql-server:1.13.6)

foxhole-api-dolt-1  | 2023-09-03T20:45:05Z WARN [conn 1] error running query {connectTime=2023-09-03T20:44:31Z, connectionDb=foxhole, error=invalid type: double}
foxhole-api-map-1   |   code: 'ER_UNKNOWN_ERROR',
foxhole-api-map-1   |   errno: 1105,
foxhole-api-map-1   |   sql: 'SELECT * FROM dolt_diff_feature WHERE to_warId = ? AND to_commit IN (SELECT commit_hash FROM dolt_log WHERE date >= ?) ORDER BY to_commit_date DESC LIMIT ?, ?',
foxhole-api-map-1   |   sqlState: 'HY000',
foxhole-api-map-1   |   sqlMessage: 'invalid type: double'

Same query works when I downgrade to dolthub/dolt-sql-server:1.13.4

feature table:

CREATE TABLE feature (
                     `id` varchar(36) NOT NULL,
                     `warId` varchar(36) NOT NULL,
                     `shard` varchar(20) NOT NULL,
                     `map` varchar(50) NOT NULL,
                     `x` double NOT NULL,
                     `y` double NOT NULL,
                     `iconType` int NOT NULL,
                     `teamId` varchar(50) NOT NULL,
                     `flags` int NOT NULL,
                     `text` varchar(100) NOT NULL,
                     PRIMARY KEY (`id`, `shard`, `warId`)
) DEFAULT CHARSET=utf8;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcustomer issuesystem tablesIssues and feature requests related to system tables

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions