Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1b155f2

Browse files
Alena Rybakinadanolivo
Alena Rybakina
authored andcommitted
Rename guc, which connected with setting minimum number of neighbours for predicting
and add more understandable explanations of guc.
1 parent124e9ae commit1b155f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎aqo.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ _PG_init(void)
294294
NULL
295295
);
296296

297-
DefineCustomIntVariable("aqo.k_neighbors_threshold",
298-
"Setthe threshold of number of neighbors for predicting.",
297+
DefineCustomIntVariable("aqo.min_neighbors_for_predicting",
298+
"Sethow many neighbors the cardinality prediction will be calculated",
299299
NULL,
300300
&aqo_k,
301301
3,
@@ -307,7 +307,7 @@ _PG_init(void)
307307
NULL);
308308

309309
DefineCustomBoolVariable("aqo.predict_with_few_neighbors",
310-
"Make predictionwithless neighbors thanwe should have.",
310+
"Establish the ability to make predictionswithfewer neighbors thanwere found.",
311311
NULL,
312312
&aqo_predict_with_few_neighbors,
313313
true,

‎expected/look_a_like.out‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SET aqo.join_threshold = 0;
33
SET aqo.mode = 'learn';
44
SET aqo.show_details = 'on';
55
set aqo.show_hash = 'off';
6-
SET aqo.k_neighbors_threshold = 1;
6+
SET aqo.min_neighbors_for_predicting = 1;
77
SET enable_nestloop = 'off';
88
SET enable_mergejoin = 'off';
99
SET enable_material = 'off';

‎sql/look_a_like.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SET aqo.join_threshold = 0;
33
SETaqo.mode='learn';
44
SETaqo.show_details='on';
55
setaqo.show_hash='off';
6-
SETaqo.k_neighbors_threshold=1;
6+
SETaqo.min_neighbors_for_predicting=1;
77
SET enable_nestloop='off';
88
SET enable_mergejoin='off';
99
SET enable_material='off';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp