Github user jinfengni commented on a diff in the pull request:
https://github.com/apache/drill/pull/193#discussion_r41682242
--- Diff:
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/schema/DrillHiveTable.java
---
@@ -179,4 +179,9 @@ private void throwUnsupportedHiveDataTypeError(String
hiveType) {
throw new RuntimeException(errMsg.toString());
}
+
+ @Override
+ public boolean providesDeferredSchema() {
--- End diff --
I think DrillHiveTable or other schema-aware table would return
RelRecordType (in Calcite), when calling typeFactory.createStructType() as
RowType.
For DrillDynamicTable, which is schema-less, the RowType would be
RelDataTypeDrillImpl.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---