You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT table_schema, table_name, column_name
FROM hive.information_schema.columns
WHERE table_schema NOT IN ('pg_catalog', 'information_schema')
it reports error
failed: outputFormat should not be accessed from a null StorageFormat
I found the error in source code in com.facebook.presto.hive.metastore.StorageFormat,change the code
public String getOutputFormat()
{
if (outputFormat == null) {
return "null";
//throw new IllegalStateException("outputFormat should not be accessed from a null StorageFormat");
}
return outputFormat;
}
It works.
I'm not gonna query hive external table, but if I don't change the code above, I can't config the redash hive source.
The text was updated successfully, but these errors were encountered:
derekennui
changed the title
presto does not support redash when source is hive and external table existsoutputFormat should not be accessed from a null StorageFormat
presto does not support redash when source is hive and external table exists
Nov 13, 2018
When I run the query
SELECT table_schema, table_name, column_name
FROM hive.information_schema.columns
WHERE table_schema NOT IN ('pg_catalog', 'information_schema')
it reports error
failed: outputFormat should not be accessed from a null StorageFormat
I found the error in source code in com.facebook.presto.hive.metastore.StorageFormat,change the code
public String getOutputFormat()
{
if (outputFormat == null) {
return "null";
//throw new IllegalStateException("outputFormat should not be accessed from a null StorageFormat");
}
return outputFormat;
}
It works.
I'm not gonna query hive external table, but if I don't change the code above, I can't config the redash hive source.
The text was updated successfully, but these errors were encountered: