(preds []parquetquery.Predicate)
| 3932 | } |
| 3933 | |
| 3934 | func orIfNeeded(preds []parquetquery.Predicate) parquetquery.Predicate { |
| 3935 | switch len(preds) { |
| 3936 | case 0: |
| 3937 | return nil |
| 3938 | case 1: |
| 3939 | return preds[0] |
| 3940 | default: |
| 3941 | return parquetquery.NewOrPredicate(preds...) |
| 3942 | } |
| 3943 | } |
| 3944 | |
| 3945 | // unsafeToString casts a byte slice to a string w/o allocating |
| 3946 | func unsafeToString(b []byte) string { |
no test coverage detected