presto报错:outputFormat should not be accessed from a null StorageFormat

报错如图:

presto报错:outputFormat should not be accessed from a null StorageFormat

这个问题是因为presto不支持任何形式hHive StorageHandlers.像hbase,es这种在hive见外部表对于presto都是不可行的,也就是hive表InputFormat、OutputFormat不能为空,如下图就不行:

presto报错:outputFormat should not be accessed from a null StorageFormat