kasakrisz commented on code in PR #6901:
URL: https://github.com/apache/hive/pull/6901#discussion_r4345080891
##########
common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:
##########
@@ -2871,10 +2874,20 @@ public static enum ConfVars {
"uses column statistics to estimate the number of rows flowing out of
it and hence the data size.\n" +
"In the absence of column statistics, this factor determines the
amount of rows that flows out\n" +
"of JOIN operator."),
+ /**
+ * @deprecated Use {@link
HiveConf.ConfVars#HIVE_STATS_MULTI_KEY_JOINS_INDEPENDENCE_FACTOR}
+ */
+ @Deprecated
HIVE_STATS_CORRELATED_MULTI_KEY_JOINS("hive.stats.correlated.multi.key.joins",
true,
- "When estimating output rows for a join involving multiple columns,
the default behavior assumes" +
- "the columns are independent. Setting this flag to true will cause the
estimator to assume" +
- "the columns are correlated."),
+ "Deprecated: use hive.stats.multi.key.joins.independence.factor.
Setting this flag to false makes the\n" +
+ "physical planner estimate the output rows of a join on several keys
with the independence factor 0.5."),
+ HIVE_STATS_MULTI_KEY_JOINS_INDEPENDENCE_FACTOR("hive.stats.multi.key.joins
.independence.factor", 0.25f,
Review Comment:
Fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]