pkgajulapalli commented on code in PR #11679:
URL: https://github.com/apache/hudi/pull/11679#discussion_r1696266979
##########
hudi-gcp/src/main/java/org/apache/hudi/gcp/bigquery/HoodieBigQuerySyncClient.java:
##########
@@ -328,6 +323,29 @@ public boolean
tableNotExistsOrDoesNotMatchSpecification(String tableName) {
return manifestDoesNotExist;
}
+ private boolean isBasePathUpdated(ExternalTableDefinition
externalTableDefinition) {
+ String basePath = StringUtils.stripEnd(getBasePath(), "/");
+ if (externalTableDefinition.getHivePartitioningOptions() == null) {
+ List<String> sourceUris =
Option.ofNullable(externalTableDefinition.getSourceUris()).orElse(Collections.emptyList());
Review Comment:
Not exactly sure about the scenario, but given the flexibility on this data
model, i've added the logic to handle multiple URIs in
`externalTableDefinition.getSourceUris()`.
--
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]