Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In JaninoRelMetadataProvider.load3, the generated class string contains some hard coded Calcite's classes, such as org.apache.calcite.rel.metadata.MetadataDef. After shading Calcite, the MetadataDef can not be found in the shaded classes. And a compile error will be thrown.
So it's better to use MetadataDef.class.getName() to replace the hard code string.
I'm appreciate to make a PR if you want.
Attachments
Issue Links
- is depended upon by
-
CALCITE-1496 Apache Calcite is not working in Web Application
- Closed