-
DescriptionAs the title description and as we known, The CSV file use the COMMA [ , ] to separate different columns , But in some column data value its contains one or more COMMA ,and the CSV column separate cannot work properly . Maybe my export setting was error or dbeaver have other solution for export , why we use CSV,because our user need Microsoft's OFFICE's Excel.exe to open it ,Without dbeaver CSV export we have no choise. It's can not be define as a BUG in feature aspect, if you can add new feature: add new export file type like *.xls or *.xlsx . DBeaver Version24.0.3.202404211624 Operating Systemwindows10 Database and driverMySQL 8.0.25 Steps to reproduceDDL-- test.test definition
CREATE TABLE `test` (
`id` varchar(32) NOT NULL COMMENT '主键',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='测试表'; DMLINSERT INTO test (id) VALUES('1,112,1');
INSERT INTO test (id) VALUES('102,3');
INSERT INTO test (id) VALUES('3,1');
INSERT INTO test (id) VALUES('4'); Images of reproduce stepsAdditional contextThank you to everyone of dbeaver for their contributions to open source projects, as you see , I'm Chinese and the some Chinese translation in export setting not Chinese , So I want to do something for this ,but I have no idea about this, can yours do me a favor or some tips, THANKS again. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
about additional context, I mean some export setting selector English value not Chinese under this image and so on. |
Beta Was this translation helpful? Give feedback.
-
The software you use to view csv files uses
|
Beta Was this translation helpful? Give feedback.
-
Yes, we can change setting with other columns delimiter, but the column value can contains other columns delimiter too. the csv file type only use comma delimiter whatever you have quotes in strings, so I'll close this bug issue and still hope it's can be export by the *.xls or *.xlsx file type in the future . |
Beta Was this translation helpful? Give feedback.
-
see https://marketplace.eclipse.org/content/dbeaver-office-integration |
Beta Was this translation helpful? Give feedback.
The software you use to view csv files uses
,
as a columns delimiter. There should be a setting to change it. When I open the result of such export in Excel, I don't experience this issue. You can try opening it with Notepad to see, that here we have just a strings in quotes: