Skip to content

Commit

Permalink
[sc-175069] Dumping faulty batch on upload error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbourret committed Mar 11, 2024
1 parent 661a93a commit 7d27621
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Version 0.2.2](https://github.com/dataiku/dss-plugin-tableau-hyper/releases/tag/v0.2.2) - Bugfix release - 2024-03-11

- Dumping faulty batch instead of last row in case of upload error

## [Version 0.2.1](https://github.com/dataiku/dss-plugin-tableau-hyper/releases/tag/v0.2.1) - Feature release - 2023-06-21

- Feature: add secure personal preset
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "tableau-hyper-export",
"version": "0.2.1",
"version": "0.2.2",
"meta": {
"label": "Tableau Hyper format",
"description": "Export datasets to Tableau .hyper format.",
Expand Down
2 changes: 1 addition & 1 deletion python-lib/tableau_table_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def write_row(self, row):
self.update_table() # send data to hyper file, flush buffer
self.data = []
except Exception as err:
logger.warning("Failed to perform writing on following row:\n{}".format(row))
logger.warning("Failed to perform writing on following batch:\n{}".format(self.data))
raise err
return True

Expand Down

0 comments on commit 7d27621

Please sign in to comment.