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.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---