@@ -41,7 +41,6 @@ use datafusion::physical_plan::joins::{
41
41
} ;
42
42
use datafusion:: physical_plan:: memory:: MemoryExec ;
43
43
44
- use crate :: fuzz_cases:: join_fuzz:: JoinTestType :: NljHj ;
45
44
use datafusion:: prelude:: { SessionConfig , SessionContext } ;
46
45
use test_utils:: stagger_batch_with_seed;
47
46
@@ -90,7 +89,6 @@ fn col_lt_col_filter(schema1: Arc<Schema>, schema2: Arc<Schema>) -> JoinFilter {
90
89
}
91
90
92
91
#[ tokio:: test]
93
- #[ allow( unused_qualifications) ]
94
92
async fn test_inner_join_1k_filtered ( ) {
95
93
JoinFuzzTestCase :: new (
96
94
make_staggered_batches ( 1000 ) ,
@@ -103,7 +101,6 @@ async fn test_inner_join_1k_filtered() {
103
101
}
104
102
105
103
#[ tokio:: test]
106
- #[ allow( unused_qualifications) ]
107
104
async fn test_inner_join_1k ( ) {
108
105
JoinFuzzTestCase :: new (
109
106
make_staggered_batches ( 1000 ) ,
@@ -116,7 +113,6 @@ async fn test_inner_join_1k() {
116
113
}
117
114
118
115
#[ tokio:: test]
119
- #[ allow( unused_qualifications) ]
120
116
async fn test_left_join_1k ( ) {
121
117
JoinFuzzTestCase :: new (
122
118
make_staggered_batches ( 1000 ) ,
@@ -129,7 +125,6 @@ async fn test_left_join_1k() {
129
125
}
130
126
131
127
#[ tokio:: test]
132
- #[ allow( unused_qualifications) ]
133
128
async fn test_left_join_1k_filtered ( ) {
134
129
JoinFuzzTestCase :: new (
135
130
make_staggered_batches ( 1000 ) ,
@@ -142,7 +137,6 @@ async fn test_left_join_1k_filtered() {
142
137
}
143
138
144
139
#[ tokio:: test]
145
- #[ allow( unused_qualifications) ]
146
140
async fn test_right_join_1k ( ) {
147
141
JoinFuzzTestCase :: new (
148
142
make_staggered_batches ( 1000 ) ,
@@ -155,7 +149,6 @@ async fn test_right_join_1k() {
155
149
}
156
150
157
151
#[ tokio:: test]
158
- #[ allow( unused_qualifications) ]
159
152
async fn test_right_join_1k_filtered ( ) {
160
153
JoinFuzzTestCase :: new (
161
154
make_staggered_batches ( 1000 ) ,
@@ -168,7 +161,6 @@ async fn test_right_join_1k_filtered() {
168
161
}
169
162
170
163
#[ tokio:: test]
171
- #[ allow( unused_qualifications) ]
172
164
async fn test_full_join_1k ( ) {
173
165
JoinFuzzTestCase :: new (
174
166
make_staggered_batches ( 1000 ) ,
@@ -181,7 +173,6 @@ async fn test_full_join_1k() {
181
173
}
182
174
183
175
#[ tokio:: test]
184
- #[ allow( unused_qualifications) ]
185
176
// flaky for HjSmj case
186
177
// https://github.com/apache/datafusion/issues/12359
187
178
async fn test_full_join_1k_filtered ( ) {
@@ -196,7 +187,6 @@ async fn test_full_join_1k_filtered() {
196
187
}
197
188
198
189
#[ tokio:: test]
199
- #[ allow( unused_qualifications) ]
200
190
async fn test_semi_join_1k ( ) {
201
191
JoinFuzzTestCase :: new (
202
192
make_staggered_batches ( 1000 ) ,
@@ -209,7 +199,6 @@ async fn test_semi_join_1k() {
209
199
}
210
200
211
201
#[ tokio:: test]
212
- #[ allow( unused_qualifications) ]
213
202
async fn test_semi_join_1k_filtered ( ) {
214
203
JoinFuzzTestCase :: new (
215
204
make_staggered_batches ( 1000 ) ,
@@ -222,7 +211,6 @@ async fn test_semi_join_1k_filtered() {
222
211
}
223
212
224
213
#[ tokio:: test]
225
- #[ allow( unused_qualifications) ]
226
214
async fn test_anti_join_1k ( ) {
227
215
JoinFuzzTestCase :: new (
228
216
make_staggered_batches ( 1000 ) ,
@@ -235,15 +223,14 @@ async fn test_anti_join_1k() {
235
223
}
236
224
237
225
#[ tokio:: test]
238
- #[ allow( unused_qualifications) ]
239
226
async fn test_anti_join_1k_filtered ( ) {
240
227
JoinFuzzTestCase :: new (
241
228
make_staggered_batches ( 1000 ) ,
242
229
make_staggered_batches ( 1000 ) ,
243
230
JoinType :: LeftAnti ,
244
231
Some ( Box :: new ( col_lt_col_filter) ) ,
245
232
)
246
- . run_test ( & [ JoinTestType :: HjSmj , NljHj ] , false )
233
+ . run_test ( & [ JoinTestType :: HjSmj , JoinTestType :: NljHj ] , false )
247
234
. await
248
235
}
249
236
@@ -461,7 +448,6 @@ impl JoinFuzzTestCase {
461
448
/// `join_tests` - identifies what join types to test
462
449
/// if `debug` flag is set the test will save randomly generated inputs and outputs to user folders,
463
450
/// so it is easy to debug a test on top of the failed data
464
- #[ allow( unused_qualifications) ]
465
451
async fn run_test ( & self , join_tests : & [ JoinTestType ] , debug : bool ) {
466
452
for batch_size in self . batch_sizes {
467
453
let session_config = SessionConfig :: new ( ) . with_batch_size ( * batch_size) ;
0 commit comments