commit | fdba2cf3d06eaa527cf824d51ff4baaf3df84235 | [log] [tgz] |
---|---|---|
author | Charles S. Givre <cgivre@apache.org> | Tue Nov 01 13:39:37 2022 -0400 |
committer | GitHub <noreply@github.com> | Tue Nov 01 13:39:37 2022 -0400 |
tree | ad6b96ca74e09d27eccdafd158a08cfa2a34ee09 | |
parent | 6e80ec0eba27afea49edab32387b40631df99df8 [diff] |
DRILL-8349: GoogleSheets Not Registering Schemas with Non Default Name (#2695)
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 bf4450e..99221fd 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.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; }