gaoran10 commented on a change in pull request #9472:
URL: https://github.com/apache/pulsar/pull/9472#discussion_r569978459
##########
File path: pulsar-sql/presto-pulsar/pom.xml
##########
@@ -107,12 +107,6 @@
<version>${presto.version}</version>
</dependency>
- <dependency>
Review comment:
```
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-client-admin-original</artifactId>
<version>${project.version}</version>
</dependency>
```
This dependency already exists, it contains `pulsar-client-original`.
##########
File path:
pulsar-sql/presto-pulsar/src/main/java/org/apache/pulsar/sql/presto/PulsarSqlSchemaInfoProvider.java
##########
@@ -98,6 +99,7 @@ public String getTopicName() {
}
private SchemaInfo loadSchema(BytesSchemaVersion bytesSchemaVersion)
throws PulsarAdminException {
+
Thread.currentThread().setContextClassLoader(InjectionManagerFactory.class.getClassLoader());
Review comment:
Thanks for reminding me, I'll fix it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]