dbeaver / dbeaver/dbeaver

DM8, an error occurs in the DDL script generated for fields of the NVARCHAR type.

Open
#41,302 4 comments 0 reactions 1 assignee Claimed by @SolovevAnton View on GitHub
x:dameng xf:connection
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

### Description

When connecting to DM8, an error occurs in the DDL script generated for fields of the NVARCHAR type.
For example, run the statement:
ALTER TABLE table1 MODIFY ID NVARCHAR(36) NULL;
This modifies the ID column to NVARCHAR(36). However, the subsequently generated DDL script incorrectly shows the type as NVARCHAR(144).

Image
Image

### DBeaver Version

26.1.0.202605311718

### Operating System

Microsoft Windows [10.0.26200.8655]

### Database and driver

DmJdbcDriver18-8.1.3.62.jar

Image
Image

### Steps to reproduce

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.