Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create hive table with parquet storage? #493

Open
tonglin0325 opened this issue Feb 26, 2019 · 0 comments
Open

how to create hive table with parquet storage? #493

tonglin0325 opened this issue Feb 26, 2019 · 0 comments

Comments

@tonglin0325
Copy link

create external table tmp_test1
row format serde 'org.apache.hadoop.hive.serde2.thrift.ThriftDeserializer'
with serdeproperties (
"serialization.class"="xxxx",
"serialization.format"="org.apache.thrift.protocol.TCompactProtocol")
stored as parquet;

I create hive table successfully, but load data got problem: "Failed with exception java.io.IOException:java.lang.ClassCastException: org.apache.hadoop.io.ArrayWritable cannot be cast to org.apache.hadoop.io.BytesWritable"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant