Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

write as bytes decimal logical type  #246

@eliviu

Description

@eliviu

Hi,

I have a hive table containing decimal values;
I'm loading the data in a spark dataframe using hiveContext; in dataframe the decimal values are loaded as decimal(s,p)
When I save the dataframe to avro format the decimals are converted and saves as string data types

How can I save these fields to avro in Bytes format with Decimal LogicalType insted of string?

Thanks,

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