snazy commented on code in PR #12315: URL: https://github.com/apache/iceberg/pull/12315#discussion_r1961743386
########## core/src/main/java/org/apache/iceberg/LocationProviders.java: ########## @@ -88,6 +88,12 @@ private static String dataLocation(Map<String, String> properties, String tableL dataLocation = properties.get(TableProperties.WRITE_FOLDER_STORAGE_LOCATION); if (dataLocation == null) { dataLocation = String.format("%s/data", tableLocation); + } else { + throw new UnsupportedOperationException( + String.format( + "Property '%s' has been deprecated and will be removed in 2.0, use '%s' instead.", + TableProperties.WRITE_FOLDER_STORAGE_LOCATION, + TableProperties.WRITE_DATA_LOCATION)); Review Comment: +1 -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org