You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b7db36
Browse filesBrowse the repository at this point in the historyBrowse files
[3.3][Kernel][Defaults] Get rid of using package private classes from parquet-mr (#4494)
(Cherrypick #4429)
Currently, we override the `InternalParquetRecordReader`, which is
package private. However, this is causing IllegalAccess errors when
parquet and kernel libraries are loaded in different classloaders (more
details on the illegal access
[here](https://stackoverflow.com/questions/14282726/urlclassloader-and-accessibility-of-package-private-methods/14283808#14283808)).
Instead, use the `ParquetReader` builder to avoid accessing package
private access issue.
Manually tested in an environment that loads parquet and kernel in
separate classloaders. Existing tests for verifying the functionality
remain the same.
Copy file name to clipboardExpand all lines: kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/internal/parquet/ParquetFileReaderSuite.scala
0 commit comments