1.11 #901
MariusWirtz
started this conversation in
General
1.11
#901
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Highlights
1. Improved performance #882, #885
With this release TM1py makes better use of existing capabilities in the TM1 server to handle large read and write operations.
Pass
use_blob=Trueto thewriteorwrite_dataframefunction to use the new optimized write mode.On a sample of 1 million cell updates, this performs on par with Turbo Integrator and up to 6x faster than the previous
writefunction. #882 (comment)The
write_asyncfunction now makes use ofuse_blobby default. The number of parallel worker threads in TM1 can be controlled through themax_workersargument. A reasonable value forslice_sizeneeds to be provided.E.g. if you are expecting 1 million cell updates, a reasonable choice would be
10formax_workersand100000forslice_size.On a sample of 1 million cell updates, this performs ~5 times better than plain Turbo Integrator and ~5 times better than the previous
write_asyncfunction. #882 (comment)Pass
use_blob=Trueto theexecute_mdx_dataframe, andexecute_view_dataframefunctions to use the new optimized read mode.On large data sets this performs 20% to 40% better. It also reduces the memory footprint by ~70%. #885 (comment)
2. New
shapedargument in theexecute_view_dataframefunction #893Pass
shaped=Trueto theexecute_mdx_dataframe, andexecute_view_dataframefunctions to retrieve the data frame in the original shape of the cube view.Please note the months on the columns in the table above
3. Re-authenticate after session timeout #856
Now TM1py will re-authenticate and retry the operation once if the operation failed due to a session timeout.
This is helpful in situations where a TM1py script has been idle for a while and once it attempts to restart interaction with TM1 it fails due to a session timeout.
New Features, Improvements, and Bugfixes
get_elements_dataframefunction by @MariusWirtz in Support hierarchies in get_elements_dataframe #876dtypeto be inferred by pandas with argumentinfer_dtypeinexecute_mdx_dataframe_shapedby @Kevin-Dekker in Allow dtype to be inferred by pandas with argument infer_dtype in execute_mdx_dataframe_shaped #879Acknowledgments
Big thanks to @cwffonseca, @Kevin-Dekker, and @adscheevel for contributing code to this release, and many others for reporting bugs and requesting new features.
How to upgrade TM1py
Full Changelog: 1.10.2...1.11
This discussion was created from the release 1.11.
Beta Was this translation helpful? Give feedback.
All reactions