[Improvement][datasource] improvement datasource get name
sdhzwc opened this issue · comments
小可耐 commented
Search before asking
- I had searched in the issues and found no similar issues.
What happened
found through the code, the database to get the name of the time part is written dead, but I see spi's DbType enumeration in the unified maintenance, so in order to code style consistency, as well as the later maintenance of convenience, it is a unified optimization of values
What you expected to happen
Optimize it.
How to reproduce
In the code logic
Anything else
No response
Version
dev
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Wenjun Ruan commented
Since this is not a bug, so I remove the bug label.