hit-lacus commented on a change in pull request #1662:
URL: https://github.com/apache/kylin/pull/1662#discussion_r655095614
##########
File path:
core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
##########
@@ -3125,4 +3125,32 @@ public int getRepartitionNumAfterEncode() {
public boolean rePartitionEncodedDatasetWithRowKey() {
return
Boolean.valueOf(getOptional("kylin.engine.spark.repartition.encoded.dataset",
"false"));
}
+
+ /*
+ * Detect dataset skew in dictionary encode step.
+ * */
+ public boolean detectDataSkewInDictEncodingEnabled() {
+ return
Boolean.valueOf(getOptional("detect.data.skew.in.dict.encoding", "false"));
+ }
+
+ /*
+ * In some data skew cases, the repartition step during dictionary encoding
will be slow.
+ * We can choose to sample from the dataset to detect skewed. This
configuration is used to set the sample rate.
+ * */
+ public double sampleRateInEncodingSkewDetection() {
Review comment:
kylin.dictionary.data.skew.detect.sample.rate
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]