1
0

Documentation update + helper method for WriteConfig builder

This commit is contained in:
Vinoth Chandar
2017-03-26 17:51:51 -07:00
committed by vinoth chandar
parent dce35ff0d7
commit e0fc4ec38e
3 changed files with 8 additions and 1 deletions

View File

@@ -327,6 +327,11 @@ public class HoodieWriteConfig extends DefaultHoodieConfig {
return this;
}
public Builder withAssumeDatePartitioning(boolean assumeDatePartitioning) {
props.setProperty(HOODIE_ASSUME_DATE_PARTITIONING_PROP, String.valueOf(assumeDatePartitioning));
return this;
}
public HoodieWriteConfig build() {
HoodieWriteConfig config = new HoodieWriteConfig(props);
// Check for mandatory properties