Skip to content

Commit

Permalink
[fix](tvf) fix azure tvf: can not build s3()
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijchen committed Dec 24, 2024
1 parent 8e09e1b commit 4e50a2e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ public S3TableValuedFunction(Map<String, String> properties) throws AnalysisExce
final boolean isAzureTvf = AzureProperties.checkAzureProviderPropertyExist(properties);
// Azure could run without region
if (isAzureTvf) {
// We have to copy properties because the map is immutable
properties = Maps.newHashMap(properties);
properties.put(S3Properties.REGION, "DUMMY-REGION");
}

// 1. analyze common properties
Map<String, String> otherProps = super.parseCommonProperties(properties);

Expand Down

0 comments on commit 4e50a2e

Please sign in to comment.