Skip to content

Support Timestamp type in HiveSchemaConverter #470

@AhmedKamal

Description

@AhmedKamal

Avro is now supporting Timestamp data type in 1.8.1 version but kite-sdk is still not able to handle timestamp data types and is depending on an older version of Avro.

Exception Stack trace while trying to convert Hive Table containing Timestamp to Avro

java.lang.IllegalArgumentException: Cannot convert unsupported type: timestamp

at org.kitesdk.shaded.com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
at org.kitesdk.data.spi.hive.HiveSchemaConverter.convert(HiveSchemaConverter.java:199)
at org.kitesdk.data.spi.hive.HiveSchemaConverter.convertField(HiveSchemaConverter.java:173)
at org.kitesdk.data.spi.hive.HiveSchemaConverter.convertTable(HiveSchemaConverter.java:132)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions