Presto Administration : Presto Server Administration : Upgrade to New Versions of Presto and Migrate Artifacts : Migrate Mashups That Use RAQL for 3.7 : Handle In-Memory Store and Load Changes
Handle In-Memory Store and Load Changes
The change, in this release, to store each dataset in its own In-Memory Store has led to significant changes in the syntax for the <storeto> and <loadfrom> statements that are not backwards compatible. See also Working with Presto Analytics In-Memory Stores for more information on this change.
RAQL supports both the original and the new semantics using a new version attribute. Mashups from previous releases that use either of these statements must be updated to indicate which syntax and semantics should be used:
*To continue to use your existing mashups and In-Memory Stores from 3.6, add version="1.0" to your existing mashups that use <storeto> or <loadfrom>. For example:
<storeto key='stocks2011' variable='stocksDS'
version='1.0'/>
*To update your existing mashups to use individual stores for each dataset you do not need to add the version attribute as the new syntax is the default. Instead, you must provide the name of the In-Memory Store to use with the cache attribute. You must also update the key attribute for <storeto> and remove it from <loadfrom>. The scope, append and partionsize attributes are not available.
See <storeto> and <loadfrom> for details.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback