py-tpcc icon indicating copy to clipboard operation
py-tpcc copied to clipboard

Wrong arguments on the ORDERS table loading for Redis and Cassandra driver

Open JRafaelSoares opened this issue 5 years ago • 0 comments

On the Redis and Cassandra driver, when loading the ORDERS table, it creates the 'O_C_ID' atribute with the 4th position of the tuple it receives (row[3]). However, in the generateOrder function of the loader.py, the 'o_c_id' attribute is in the 2nd position of the tuple, so it seems to be inserting the values incorrectly.

Note that I have not been able to test its correctness, as I found this when debuging my own driver based on the redis implementation, so take it with a grain of salt, but it seems to be an issue.

JRafaelSoares avatar Mar 09 '21 17:03 JRafaelSoares