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
{{ message }}
This repository has been archived by the owner on May 20, 2021. It is now read-only.
as title, if hive table includes decimal type column, don't show columns of table.
eg:
CREATE TABLE test2( id int, name string, pric decimal(19,4)
)
when selecting the table test2, and show nothing in columns list.
log file exception as like:
ERROR [2019-01-26 13:33:30,003] io.dropwizard.jersey.jackson.JsonProcessingExceptionMapper: Unable to serialize or deserialize the specific type
! java.lang.IllegalArgumentException: ParameterKind is [LONG] but expected [NAMED_TYPE]
! at com.facebook.presto.client.ClientTypeSignatureParameter.getValue(ClientTypeSignatureParameter.java:84)
! at com.facebook.presto.client.ClientTypeSignatureParameter.getNamedTypeSignature(ClientTypeSignatureParameter.java:101)
! at com.facebook.presto.client.ClientTypeSignatureParameter$Access4JacksonDeserializer3d2f4ecd.objectGetter(com/facebook/presto/client/ClientTypeSignatureParameter$Access4JacksonDeserializer.java)
! at com.fasterxml.jackson.module.afterburner.ser.ObjectMethodPropertyWriter.serializeAsField(ObjectMethodPropertyWriter.java:45)
! at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:678)
! ... 90 common frames omitted
! Causing: com.fasterxml.jackson.databind.JsonMappingException: ParameterKind is [LONG] but expected [NAMED_TYPE] (through reference chain: com.google.common.collect.RegularImmutableList[2]->com.airbnb.airpal.presto.hive.HiveColumn["typeSignature"]->com.facebook.presto.client.ClientTypeSignature["arguments"]->java.util.UnmodifiableRandomAccessList[0]->com.facebook.presto.client.ClientTypeSignatureParameter["namedTypeSignature"])
! at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:339)
! at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:299)
! at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:342)
! at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:686)
! at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
as title, if hive table includes decimal type column, don't show columns of table.
eg:
CREATE TABLE
test2
(id
int,name
string,pric
decimal(19,4))
when selecting the table
test2
, and show nothing in columns list.log file exception as like:
ERROR [2019-01-26 13:33:30,003] io.dropwizard.jersey.jackson.JsonProcessingExceptionMapper: Unable to serialize or deserialize the specific type
! java.lang.IllegalArgumentException: ParameterKind is [LONG] but expected [NAMED_TYPE]
! at com.facebook.presto.client.ClientTypeSignatureParameter.getValue(ClientTypeSignatureParameter.java:84)
! at com.facebook.presto.client.ClientTypeSignatureParameter.getNamedTypeSignature(ClientTypeSignatureParameter.java:101)
! at com.facebook.presto.client.ClientTypeSignatureParameter$Access4JacksonDeserializer3d2f4ecd.objectGetter(com/facebook/presto/client/ClientTypeSignatureParameter$Access4JacksonDeserializer.java)
! at com.fasterxml.jackson.module.afterburner.ser.ObjectMethodPropertyWriter.serializeAsField(ObjectMethodPropertyWriter.java:45)
! at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:678)
! ... 90 common frames omitted
! Causing: com.fasterxml.jackson.databind.JsonMappingException: ParameterKind is [LONG] but expected [NAMED_TYPE] (through reference chain: com.google.common.collect.RegularImmutableList[2]->com.airbnb.airpal.presto.hive.HiveColumn["typeSignature"]->com.facebook.presto.client.ClientTypeSignature["arguments"]->java.util.UnmodifiableRandomAccessList[0]->com.facebook.presto.client.ClientTypeSignatureParameter["namedTypeSignature"])
! at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:339)
! at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:299)
! at com.fasterxml.jackson.databind.ser.std.StdSerializer.wrapAndThrow(StdSerializer.java:342)
! at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:686)
! at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
The text was updated successfully, but these errors were encountered: