-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Core: Change removal of deprecations to 1.12.0 #14392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,7 +107,7 @@ public class RESTSessionCatalog extends BaseViewSessionCatalog | |
| private static final String DEFAULT_FILE_IO_IMPL = "org.apache.iceberg.io.ResolvingFileIO"; | ||
|
|
||
| /** | ||
| * @deprecated will be removed in 2.0.0. Use {@link | ||
| * @deprecated will be removed in 1.12.0. Use {@link | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this one should be fine to remove before 2.0.0, since the property was only moved to a different class |
||
| * org.apache.iceberg.rest.RESTCatalogProperties#PAGE_SIZE} instead. | ||
| */ | ||
| @Deprecated public static final String REST_PAGE_SIZE = "rest-page-size"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -36,7 +36,7 @@ private ThreadPools() {} | |||||
|
|
||||||
| /** | ||||||
| * @deprecated Use {@link SystemConfigs#WORKER_THREAD_POOL_SIZE WORKER_THREAD_POOL_SIZE} instead; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| * will be removed in 2.0.0 | ||||||
| * will be removed in 1.12.0 | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be ok to remove earlier as well |
||||||
| */ | ||||||
| @Deprecated | ||||||
| public static final String WORKER_THREAD_POOL_SIZE_PROP = | ||||||
|
|
@@ -113,7 +113,7 @@ private static class AuthRefreshPoolHolder { | |||||
| * either {@link #newExitingWorkerPool(String, int)} or {@link #newFixedThreadPool(String, int)}, | ||||||
| * depending on the intended lifecycle of the thread pool. | ||||||
| * | ||||||
| * @deprecated will be removed in 2.0.0. Use {@link #newExitingWorkerPool(String, int)} for | ||||||
| * @deprecated will be removed in 1.12.0. Use {@link #newExitingWorkerPool(String, int)} for | ||||||
| * long-lived thread pools that require a shutdown hook, or {@link #newFixedThreadPool(String, | ||||||
| * int)} for short-lived thread pools where you manage the lifecycle. | ||||||
| */ | ||||||
|
|
@@ -134,7 +134,7 @@ public static ExecutorService newWorkerPool(String namePrefix) { | |||||
| * either {@link #newExitingWorkerPool(String, int)} or {@link #newFixedThreadPool(String, int)}, | ||||||
| * depending on the intended lifecycle of the thread pool. | ||||||
| * | ||||||
| * @deprecated will be removed in 2.0.0. Use {@link #newExitingWorkerPool(String, int)} for | ||||||
| * @deprecated will be removed in 1.12.0. Use {@link #newExitingWorkerPool(String, int)} for | ||||||
| * long-lived thread pools that require a shutdown hook, or {@link #newFixedThreadPool(String, | ||||||
| * int)} for short-lived thread pools where you manage the lifecycle. | ||||||
| */ | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit hesitant removing table properties earlier, since that would mean a behavioral change