File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -416,11 +416,10 @@ _PG_init(void)
416
416
NULL
417
417
);
418
418
419
- DefineCustomIntVariable ("aqo.k_neighbors_threshold " ,
420
- "Set the threshold of number of neighbors for predicting. " ,
419
+ DefineCustomIntVariable ("aqo.min_neighbors_for_predicting " ,
420
+ "Set how many neighbors the cardinality prediction will be calculated " ,
421
421
NULL ,
422
422
& aqo_k ,
423
- 3 ,
424
423
1 , INT_MAX / 1000 ,
425
424
PGC_USERSET ,
426
425
0 ,
@@ -429,7 +428,7 @@ _PG_init(void)
429
428
NULL );
430
429
431
430
DefineCustomBoolVariable ("aqo.predict_with_few_neighbors" ,
432
- "Make prediction with less neighbors than we should have ." ,
431
+ "Establish the ability to make predictions with fewer neighbors than were found ." ,
433
432
NULL ,
434
433
& aqo_predict_with_few_neighbors ,
435
434
true,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ SET aqo.join_threshold = 0;
3
3
SET aqo.mode = 'learn';
4
4
SET aqo.show_details = 'on';
5
5
set aqo.show_hash = 'off';
6
- SET aqo.k_neighbors_threshold = 1;
6
+ SET aqo.min_neighbors_for_predicting = 1;
7
7
SET enable_nestloop = 'off';
8
8
SET enable_mergejoin = 'off';
9
9
SET enable_material = 'off';
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ SET aqo.join_threshold = 0;
3
3
SET aqo .mode = ' learn' ;
4
4
SET aqo .show_details = ' on' ;
5
5
set aqo .show_hash = ' off' ;
6
- SET aqo .k_neighbors_threshold = 1 ;
6
+ SET aqo .min_neighbors_for_predicting = 1 ;
7
7
SET enable_nestloop = ' off' ;
8
8
SET enable_mergejoin = ' off' ;
9
9
SET enable_material = ' off' ;
You can’t perform that action at this time.
0 commit comments