This is an automated email from the ASF dual-hosted git repository.
cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/master by this push:
new fdba2cf3d0 DRILL-8349: GoogleSheets Not Registering Schemas with Non
Default Name (#2695)
fdba2cf3d0 is described below
commit fdba2cf3d06eaa527cf824d51ff4baaf3df84235
Author: Charles S. Givre <[email protected]>
AuthorDate: Tue Nov 1 13:39:37 2022 -0400
DRILL-8349: GoogleSheets Not Registering Schemas with Non Default Name
(#2695)
---
.../exec/store/googlesheets/schema/GoogleSheetsSchemaFactory.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/contrib/storage-googlesheets/src/main/java/org/apache/drill/exec/store/googlesheets/schema/GoogleSheetsSchemaFactory.java
b/contrib/storage-googlesheets/src/main/java/org/apache/drill/exec/store/googlesheets/schema/GoogleSheetsSchemaFactory.java
index bf4450e173..99221fd97e 100644
---
a/contrib/storage-googlesheets/src/main/java/org/apache/drill/exec/store/googlesheets/schema/GoogleSheetsSchemaFactory.java
+++
b/contrib/storage-googlesheets/src/main/java/org/apache/drill/exec/store/googlesheets/schema/GoogleSheetsSchemaFactory.java
@@ -22,13 +22,12 @@ import org.apache.calcite.schema.SchemaPlus;
import org.apache.drill.exec.store.AbstractSchemaFactory;
import org.apache.drill.exec.store.SchemaConfig;
import org.apache.drill.exec.store.googlesheets.GoogleSheetsStoragePlugin;
-import
org.apache.drill.exec.store.googlesheets.GoogleSheetsStoragePluginConfig;
public class GoogleSheetsSchemaFactory extends AbstractSchemaFactory {
private final GoogleSheetsStoragePlugin plugin;
public GoogleSheetsSchemaFactory(GoogleSheetsStoragePlugin plugin) {
- super(GoogleSheetsStoragePluginConfig.NAME);
+ super(plugin.getName());
this.plugin = plugin;
}