Im trying to write the code to stream a jdbc-next result, of typeIReduceInit, row by row during the reduction into a Sheet.
Got this error The maximum number of Cell Styles was exceeded. You can define up to 64000 style in a .xlsx Workbook.
Looking into this repo, I've found this PR that fixes the problem by memoizing the date creation, but only if Im using add-rows!.
I tried to do the same wrapping in my code but create-date-format is a private var and I can reference it from the outside.
I achieved what I wanted copying the code to my namespace and overriding dk.ative.docjure.spreadsheet/set-cell with (defmethod dk.ative.docjure.spreadsheet/set-cell! Date ... but I was wondering if this one could be made public
Hello,
Im trying to write the code to stream a jdbc-next result, of type
IReduceInit
, row by row during the reduction into aSheet
.Got this error
The maximum number of Cell Styles was exceeded. You can define up to 64000 style in a .xlsx Workbook
. Looking into this repo, I've found this PR that fixes the problem by memoizing the date creation, but only if Im usingadd-rows!
.I tried to do the same wrapping in my code but
create-date-format
is a private var and I can reference it from the outside. I achieved what I wanted copying the code to my namespace and overridingdk.ative.docjure.spreadsheet/set-cell
with(defmethod dk.ative.docjure.spreadsheet/set-cell! Date ...
but I was wondering if this one could be made publicthanks a lot!