1.9.0 #685
MariusWirtz
started this conversation in
General
1.9.0
#685
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Highlights
This new feature allows TM1py to use iterative JSON parsing.
When
use_iterative_json
isTrue
TM1py requires a significantly smaller memory footprint (down to ~ 20% of the original value) at an almost negligible cost of performance (single percentage digit):This is a handy feature when dealing with large or very large data volumes (1M to 10M cells) in an environment with limited RAM.
This optional argument to the
write
/write_dataframe
functions asks TM1py to filter out cells that can not be updated before attempting to write. If not used, TM1py will fail with an error when attempting to write to rule-derived or consolidated cells.This is a useful feature, as it saves the TM1py user from verifying the validity of the cell updates when not working with flawless data sources.
Only errors w.r.t. updatability are suppressed! Attempts, for instance, to write to not existing elements will still raise errors.
New Features
write to_message_log_function
Add a function to send messages to MessageLog #621skip_zeros
inexecute_mdx_values
function execute_mdx_values() skip_zeroes #659execute_mdx_csv
function Use csv module to create csv strings #678rename
function inApplicationService
Addrename
function to ApplicationService #682compact_json
in someexecute_mdx_
functions Merge/json improvements #650Improvements and Bugfixes
get_last_message_from_processerrorlog
to return text ac0d72fexecute_set_mdx
function 61fe2eaupdate_or_create
function for document from file 7f94f71TM1Service
constructor Simplify TM1Service initiation based onbase_url
andsession_id
#652get_values
function issue to work with alternate hierarchies seamlessly cells get_value does not work with single hierarchy reference #680write
function Improve handling of alternate hierarchies in write #679measure_dimension_elements
dictionary argument towrite
andwrite_dataframe
function to improve performance b21ac47Acknowledgments
Big thanks to @rkvinoth, @jrobinsonAG, @gbryant-dev, @raeldor, @adscheevel, @jordanjeremy for contributing code to this release, and many others for reporting bugs and requesting new features.
How to upgrade TM1py
To upgrade TM1py, just use the following command:
This discussion was created from the release 1.9.0.
Beta Was this translation helpful? Give feedback.
All reactions