Does DynamoDB support aggregate functions like AVG, MAX, MIN? -


I tried the dynamo DD docs and used the QueryResult with the example, Not found in Dynamody to use Minimum, Maximum and Average (I am using Java API).

These are not available You are either doing a query or by applying it by scanning with a filter And can calculate the values ​​themselves, to make things worthwhile, you can use only to return the count of items which will be returned by that query / scan rather than the actual objects. (Note that count only partial count - you may need to calculate in many pages of queries / scans).

Alternatively, you can create a separate table which is updating these tables to the main table for you (Note that it can be difficult to keep in sync, The form must be used and the final compatibility model of the account dynamo has to be taken.)

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -