yc-huang / Hive-mongo

hive storage handler for connecting with MongoDB
Apache License 2.0
32 stars 33 forks source link

Minor issue with column type separators #11

Closed dvasilen closed 11 years ago

dvasilen commented 11 years ago

1) I have found that the MongoSerDe fails to process the column types string if the separators are not comma. I am working on the integration with HCatalog and while the original MongoSerDe works with Hive it fails when is being run under HCatalog. For some reason separators are changed from commas to colons. The fix is easy. Instead of using .split(",") we can use .split("[,:;]") to handle all possible separators.

2) Apache License 2.0