[
https://issues.apache.org/jira/browse/PHOENIX-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908084#comment-14908084
]
Josh Mahonin commented on PHOENIX-2196:
---------------------------------------
I'd like to move forward with this issue. The attached patch does solve the
original issue, which was normalizing the field names of a dataframe when
saving to Phoenix.
A better way to normalize the table names is a bit of a tougher nut to crack,
and at the moment the current API and unit tests off-load that to the user.
[~randerzander] If you like, please file a new ticket for that specific issue
Ping [~jamestaylor] or [[email protected]] Is this OK for the 4.5 and
4.x branches?
> phoenix-spark should automatically convert DataFrame field names to all caps
> ----------------------------------------------------------------------------
>
> Key: PHOENIX-2196
> URL: https://issues.apache.org/jira/browse/PHOENIX-2196
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Randy Gelhausen
> Assignee: Josh Mahonin
> Priority: Minor
> Attachments: PHOENIX-2196-v2.patch, PHOENIX-2196.patch
>
>
> phoenix-spark will fail to save a DF into a Phoenix table if the DataFrame's
> fields are not all capitalized. Since Phoenix internally capitalizes all
> column names, the DataFrame.save method should automatically capitalize DF
> field names as a convenience to the end user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)