Jonathan Vexler created HUDI-7813:
-------------------------------------
Summary: Hive Style partitioning on a bootstrap table is not
configurable
Key: HUDI-7813
URL: https://issues.apache.org/jira/browse/HUDI-7813
Project: Apache Hudi
Issue Type: Bug
Components: bootstrap
Reporter: Jonathan Vexler
I modified DecodedBootstrapPartitionPathTranslator to be:
{code:java}
public class DecodedBootstrapPartitionPathTranslator extends
BootstrapPartitionPathTranslator {
public DecodedBootstrapPartitionPathTranslator() {
super();
}
@Override
public String getBootstrapTranslatedPath(String bootStrapPartitionPath) {
String pathMaybeWithHive =
PartitionPathEncodeUtils.unescapePathName(bootStrapPartitionPath);
if (pathMaybeWithHive.contains("=")) {
return Arrays.stream(pathMaybeWithHive.split("/")).map(split -> {
if (split.contains("=")) {
return split.split("=")[1];
} else {
return split;
}
}).collect(Collectors.joining("/"));
}
return pathMaybeWithHive;
}
} {code}
And setting hive style partitioning to true does not add it back
--
This message was sent by Atlassian Jira
(v8.20.10#820010)