Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Keywords as JSON properties #24

sixtus opened this Issue · 5 comments

3 participants


I am unable to figure out how to read "timestamp" from my json, as hive

FAILED: ParseException line 3:2 mismatched input 'timestamp' expecting Identifier near ',' in column specification

is there an "as ts" syntax?


That's a good point though. JSON doesn't care about hive keywords. One thing I did in another serde (lwes-java) is to add mappings in the serdeproperties:
SERDE JsonSerde WITH SERDEPROPERTIES( 'mapping.timestamp'='ts' )
and map JSON field 'timestamp' into hive column 'ts'. Would that work for you guys ?


I have a preliminary version in a feature branch, if you guys feel like compiling it.
Will merge the feature soon (and have a look at the other issues as well).

@rcongiu rcongiu closed this issue from a commit
@rcongiu fixes #24 b26d5c8
@rcongiu rcongiu closed this in b26d5c8

Awesome! I'll try asap.

@brndnmtthws brndnmtthws referenced this issue from a commit in brndnmtthws/Hive-JSON-Serde
@rcongiu fixes #24 8482689
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.