Closed jaspreet997 closed 4 years ago
ROW FORMAT SERDE 'org.openx.data.jsonserde.JsonSerDe'
just noticed that.
Presto does not support this serde yet (https://github.com/prestosql/presto/issues/5638), so i assume you modified Presto / added more jars to the classpath. @jaspreet997 Is the bug reproducible without any customizations in Presto?
@findepi Yes I have added org.openx.data.jsonserde.JsonSerDe jar to the plugins in hive-hadoop2 path.
I tried removing the Jar and remvoed the serde name from Glue for that table. Still getting deserializer does not exist: org.openx.data.jsonserde.JsonSerDe error when trying to execute the same query. Any alternate serde I can use here to try and reproduce the issue?
Also the issue does not occur in version 340 with the same jar in the classpath, if that helps with debugging
Also the issue does not occur in version 340 with the same jar in the classpath
Thanks for the info. We currently do not bundle the openx serde, we do not test it, and so we cannot prevent breakage from occurring. Apologies for that. Proper support for this serde is tracked in https://github.com/prestosql/presto/issues/5638
Any alternate serde I can use here to try and reproduce the issue?
is the problem reproducible eg for a table defined in Presto with .. WITH(format='JSON')
(org.apache.hive.hcatalog.data.JsonSerDe
serde)?
is the problem reproducible eg for a table defined in Presto with .. WITH(format='JSON') (org.apache.hive.hcatalog.data.JsonSerDe serde)?
Working fine with this serde. We do use some features from the openx serde though so we will have to work out something until the support comes officially. Appreciate the help so far.
@jaspreet997 thanks for the feedback i will close the issue as not-a-bug-in-Presto for now.
can you please mention in https://github.com/prestosql/presto/issues/5638 those additional features that openx serde has that you're benefitting from?
Hi, We are getting the below error when timestamps are null in hive json tables
Steps to REPRODUCE
1.
2. unzip and Upload/store the attached eod.json file to the location eod.zip
then
alter table eod_json_test add partition ( ad='2020-10-20' ) location 's3://bucket/location'
3. Try running the below query on presto 341-344 and the above error will be reproduced