Fix lack of valid class loader for TableChangesSplitProcessor in Delta/Iceberg#19849
Fix lack of valid class loader for TableChangesSplitProcessor in Delta/Iceberg#19849findepi merged 3 commits intotrinodb:masterfrom
Conversation
c883583 to
2c463c2
Compare
|
Failure is not related #16315 |
There was a problem hiding this comment.
Change HiveConnector.functionProvider not to be Optional
There was a problem hiding this comment.
update TestClassLoaderSafeWrappers
There was a problem hiding this comment.
add line break before getClass().getClassLoader()
There was a problem hiding this comment.
add line break before getClass().getClassLoader()
There was a problem hiding this comment.
is it fixing a bug?
would you be able to describe the bug being fixed in end-user visible terms?
There was a problem hiding this comment.
thanks!
please update the Release notes section too
There was a problem hiding this comment.
discussed offline; this is a bug fix
please change the commit title from "Introduce ClassLoaderSafeTableFunctionSplitProcessor" to something that indicates it is a fix (perhaps "Fix ....")
There was a problem hiding this comment.
Others are not final, why to make an exception here?
There was a problem hiding this comment.
because it should be final -- or is the class supposed to be subclassed?
There was a problem hiding this comment.
update TestClassLoaderSafeWrappers
2c463c2 to
20afb5c
Compare
|
Again failure is not related #16315 |
2298946 to
f7d249f
Compare
f7d249f to
48446c8
Compare
Description
Adding missing ClassLoaderSafeTableFunctionProcessorProvider and ClassLoaderSafeTableFunctionSplitProcessor
Also refactoring ConnectorTableFunction binding in Hive.
Additional context and related issues
Lack of usage of
ClassLoaderSafe..may have resulted in queries failure when some criterias were met:TableFunctionProcessorProviderorTableFunctionSplitProcessoror bothIn such case trino would fail to instantiate specific FileSystem and query would fail
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text: