Blank columns in output when using 'Export Resultset' option
See original GitHub issueIf I run certain MySQL queries which give correct results in DBeaver’s results window, and then use the ‘Export Resultset’ option, certain columns are missing from the exported output (i.e. the relevant fields are always blank). This is the case for all of the outputted file types (CSV, HTML, JSON, XML).
Unfortunately, I have not yet been unable to create a trivial query and dataset to give you which reproduces this error - it only occurs with a relatively complex query on a confidential dataset. (I have compared the outputs produced by HeidiSQL and these are all correct i.e. with no missing columns). What I can, however, say is that there are no unusual characters in the missing fields - they all take the very simple format described by the regexes S[0-9]{1,6}
and M[0-9]{1,6}
.
Is there any way I can debug this locally? Can you think of any reason for data not being written to the output file?
If it is necessary, I could try to produce a redacted version of the confidential query (with changes to column names and table data), but this is likely to take a significant amount of time.
FYI, I am running the latest version of DBeaver (4.0.5) on Windows 10.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top GitHub Comments
When exporting the data, in “format setting”, try setting binaries to “inline”, and select “binary” for encoding. That’s how I resolved the issue.
This issue is still affecting me and I believe it has to do with pulling values out of JSON objects. This is the only issue that is preventing me from abandoning MySQL Workbench entirely.
I’ve created a $15 bounty for this issue.