CS4224-Claps / project

MIT License
1 stars 0 forks source link

Add Performance Code for Cassandra and Fix Flags #35

Closed seanlowjk closed 2 years ago

seanlowjk commented 2 years ago

Summary

Refer to README.md to conduct sample runs on cassandra

Current Issues

The following queries are unable to be run on the system, will require the cassandra peeps help for this.

SELECT SUM(OL_AMOUNT), SUM(OL_QUANTITY) FROM wholesale.OrderLine; 
SELECT SUM(S_QUANTITY), SUM(S_YTD), SUM(S_ORDER_CNT), SUM(S_REMOTE_CNT) FROM wholesale.Stock; 

Error reason is as follows:

ReadTimeout: Error from server: code=1200 [Coordinator node timed out waiting for replica nodes' responses] 
message="Operation timed out - received only 0 responses." info=
{'consistency': 'ONE', 'required_responses': 1, 'received_responses': 0}