hhyo / hhyo/Archery

SQL查询Decimal字段显示异常

Open
#2,136 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7k
Forks
1.9k
Avg merge
2d 11h
Merged PRs (30d)
6

Description

### 重现步骤

1.在线查询页面,输入SQL语句,查询Decimal类型,且内容为 0.00000000 的数据。
2.点击查询后,结果显示为 0E-8。

### 预期外的结果

显示内容:
![1](https://user-images.githubusercontent.com/3369355/234184663-c548f346-f765-45a7-b27b-a7c84afa7b6a.png)
![2](https://user-images.githubusercontent.com/3369355/234184669-2a3d73dc-5a2a-4a8e-ae3d-1f95df7dccbd.png)

实际内容:
![3](https://user-images.githubusercontent.com/3369355/234184672-8d0b0ce1-cf4e-454c-a0c0-80fd1a51f351.png)

### 日志文本

```shell

```

### 版本

1.9.1

### 部署方式

Docker

### 是否还有其他可以辅助定位问题的信息?比如数据库版本等

_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.