We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In 'Check' function have no difference processing with cases then in response 0 rows or some rows:
func (ds delegatingStore) Check(ctx context.Context, table *typedef.Table, builder qb.Builder, values ...interface{}) error { testRows, err := load(ctx, ds.testStore, builder, values) ... oracleRows, err := load(ctx, ds.oracleStore, builder, values) ... if len(testRows) != len(oracleRows) { ... }
I was build in 'Check' function atomic counter for responses with 0 rows :
if len(testRows) == 0 && len(oracleRows) == 0 { utils.NilRows.Add(1) }
And run usual test. Results: Write Operations: 135611 Read Operations: 129290 Nil Rows Counter: 116810
Then I ran a test for each function from GenCheckStmt. Here are the results for each of them:
genSinglePartitionQuery: Write Operations: 183150 Read Operations: 156343 Nil Rows Counter: 31010
genMultiplePartitionQuery: Write Operations: 158734 Read Operations: 154572 Nil Rows Counter: 154572
genClusteringRangeQuery: Write Operations: 165392 Read Operations: 174523 Nil Rows Counter: 167365
genMultiplePartitionClusteringRangeQuery: Write Operations: 170090 Read Operations: 169189 Nil Rows Counter: 158099
genSingleIndexQuery: Write Operations: 87691 Read Operations: 5870 Read Errors : 241 Nil Rows Counter: 5870
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In 'Check' function have no difference processing with cases then in response 0 rows or some rows:
I was build in 'Check' function atomic counter for responses with 0 rows :
And run usual test. Results:
Write Operations: 135611
Read Operations: 129290
Nil Rows Counter: 116810
Then I ran a test for each function from GenCheckStmt. Here are the results for each of them:
genSinglePartitionQuery:
Write Operations: 183150
Read Operations: 156343
Nil Rows Counter: 31010
genMultiplePartitionQuery:
Write Operations: 158734
Read Operations: 154572
Nil Rows Counter: 154572
genClusteringRangeQuery:
Write Operations: 165392
Read Operations: 174523
Nil Rows Counter: 167365
genMultiplePartitionClusteringRangeQuery:
Write Operations: 170090
Read Operations: 169189
Nil Rows Counter: 158099
genSingleIndexQuery:
Write Operations: 87691
Read Operations: 5870
Read Errors : 241
Nil Rows Counter: 5870
The text was updated successfully, but these errors were encountered: