(pred string)
| 47 | } |
| 48 | |
| 49 | func dropPredicate(pred string) { |
| 50 | err := client.Alter(context.Background(), &api.Operation{ |
| 51 | DropAttr: pred, |
| 52 | }) |
| 53 | if err != nil { |
| 54 | panic(fmt.Sprintf("Could not drop predicate. Got error %v", err.Error())) |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func processQuery(ctx context.Context, t *testing.T, query string) (string, error) { |
| 59 | txn := client.NewTxn() |
no test coverage detected