phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2481) JSON Bulkload Tool
Date Fri, 04 Dec 2015 17:49:11 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041845#comment-15041845
] 

ASF GitHub Bot commented on PHOENIX-2481:
-----------------------------------------

Github user ndimiduk commented on the pull request:

    https://github.com/apache/phoenix/pull/141#issuecomment-162033375
  
    > For JSON, is only single level supported? If not, how is nested JSON handled?
    
    No special handling is provided. A nested json object will be read as Map and presented
to the upsert statement as such. Since Phoenix doesn't support maps, an error would result.
    
    > Looks like lists are converted into ARRAYs which is nice. What happens if the array
elements have different data types? I guess you'd just log an error and ignore that row?
    
    Indeed. Or fail the job, if `--ignore-errors` is not specified.
    
    > Can you make sure the indenting conforms to the 4 space convention?
    
    Pardon me, @JamesRTaylor. Done.
    
    > Also, please make sure imports don't use * and that their order is correct
    
    Done.


> JSON Bulkload Tool
> ------------------
>
>                 Key: PHOENIX-2481
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2481
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>             Fix For: 4.7.0
>
>
> Would be nice to be able to load JSON directly, as we can CSV.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message