[
https://issues.apache.org/jira/browse/PHOENIX-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708481#comment-14708481
]
ASF GitHub Bot commented on PHOENIX-2196:
-----------------------------------------
Github user JamesRTaylor commented on the pull request:
https://github.com/apache/phoenix/pull/114#issuecomment-133897978
Thanks for the pull. One feature that Phoenix (and other RDBMS) has is that
if a column identifier is double quoted, then it's treated as case sensitive.
Otherwise, it's upper cased as you've mentioned. Would be good if we could
accommodate this too in the phoenix-spark integration. If we can't do this,
then we may need to keep it as case sensitive as otherwise we can't support the
case sensitive use case.
> 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
> Priority: Minor
>
> 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)