Skip to content

[Bug] [dbgpt-ext] StarRocks field type conversion issue #3060

@Aalron

Description

@Aalron

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

Mac M2

Models information

LLM:deepseek-3.2
Embeddings:gemini-embedding-001

What happened

Since version 3.x, StarRocks has introduced the BINARY/VARBINARY data types for storing binary data in bytes. However, these types are not supported in the datatype.py script.

web-server log => dbgpt_ext.datasource.rdbms.dialect.starrocks.sqlalchemy.datatype[1] WARNING Did not recognize type 'varbinary'

StarRockes :
Image

What you expected to happen

Support BINARY/VARBINARY types

How to reproduce

add type convert into datatype.py script

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions