serde


Trying to import Jsonfile to hive table using serde


ADD JAR /Jsonjars/hive-hcatalog-core-1.1.0.jar CREATE external TABLE employee
(employeeId int, employeeName String,employeeAge int) ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe' WITH SERDEPROPERTIES ( "employeeId"="$.employeeId", "employeeName"="$.employeeName", "employeeAge"="$.employeeAge" )
load data inpath '/Json/jsonfile' into table employee;
output:
Iam getting NUll values for all fields:
hive> select * from employee;
OK
NULL NULL NULL
Can any please tell me what is the error?

Related Links

Trying to import Jsonfile to hive table using serde

Categories

HOME
beautifulsoup
paraview
awk
github-for-windows
google-spreadsheet
jax-rs
pyqt
numbers
composite-primary-key
edge
mapbox
angularfire2
bing-maps
sendgrid-api-v3
android-securityexception
openbugs
google-form
libc
gruntfile
internationalization
mathprog
sigma.js
gmm
boost-icl
guzzle
ksh
href
question2answer
dataflow-diagram
scriptella
comparator
syntax-highlighting
oculus
paragraph
cart
dumpbin
keras-layer
sharepoint-workflow
magento-1.9.2.4
graphhopper
dm-script
cd
odroid
linq-to-objects
hackintosh
android-softkeyboard
naming
linqpad
dbnull
lpsolve
contract
flask-login
monkey-testing
magento-2.0.7
configurationmanager
openblas
remedy
arq
context-sensitive-grammar
cup
type-theory
janus
pytables
meteor-packages
grails-plugin
pacemaker
udpclient
android-wake-lock
query-by-example
relativelayout
dynamics-nav-2016
linklabel
include-guards
canalyzer
wso2greg
dnssec
entity-framework-4.3
diff3
dot.js
xmltype
grouping-sets
document-repository
jbake
administration
insight.database
mobility
angular-carousel
cancellation
live555
sbcl
ecslidingviewcontroller
ice-cube
script#
css-reset
mantle
stacky
server-administration
wimax
web-notifications
workflow-services
google-ajax-api
nhprof
rowlex
contentpresenter

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App