trino
trino copied to clipboard
Allow Azure govcloud for native Azure file system
https://trinodb.slack.com/archives/C0305TQ05KL/p1711623700672519
Azure gov cloud uses https://%s.blob.core.usgovcloudapi.net not https://%s.blob.core.windows.net ,
The validation does not allow this and needs to be changed to be more flexible.
https://github.com/trinodb/trino/blob/9ec2b07eddb88838eeb243e54df16d323ec4a0fb/lib/trino-filesystem-azure/src/main/java/io/trino/filesystem/azure/AzureLocation.java#L26
private static final String INVALID_LOCATION_MESSAGE = "Invalid Azure location. Expected form is 'abfs://[<containerName>@]<accountName>.dfs.core.windows.net/<filePath>': %s";