View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002857 | SymmetricDS | Bug | public | 2016-10-12 09:21 | 2016-10-19 19:41 |
Reporter | gatokino | Assigned To | josh-a-hicks | ||
Priority | urgent | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 3.8.6 | ||||
Target Version | 3.8.7 | Fixed in Version | 3.8.7 | ||
Summary | 0002857: PostgresBulkDatabaseWriter is not preserving spaces | ||||
Description | When doing initial load if a character[] field is present and that field has spaces at the end the spaces are lost at target. | ||||
Steps To Reproduce | sync a table with a character[2] containing 2 records having 'A ' and 'A' the target table will have 'A', 'A' | ||||
Additional Information | problem comes from PostgresBulkDatabaseWriter -> line 104 String formattedData = CsvUtils.escapeCsvData(parsedData, '\n', '\'', CsvWriter.ESCAPE_MODE_DOUBLED); which calls writer.writeRecord(data); instead of writer.writeRecord(data, true); | ||||
Tags | No tags attached. | ||||
related to | 0002871 | closed | josh-a-hicks | Initial loads and reload were not preserving spaces on an empty space field. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-12 09:21 | gatokino | New Issue | |
2016-10-19 19:40 | josh-a-hicks | Relationship added | related to 0002871 |
2016-10-19 19:41 | josh-a-hicks | Status | new => resolved |
2016-10-19 19:41 | josh-a-hicks | Fixed in Version | => 3.8.7 |
2016-10-19 19:41 | josh-a-hicks | Resolution | open => fixed |
2016-10-19 19:41 | josh-a-hicks | Assigned To | => josh-a-hicks |