Github user randerzander commented on the pull request:
https://github.com/apache/phoenix/pull/114#issuecomment-133893731
As an example, reading a CSV file where headers aren't capitalized, the
below is necessary before calling df.save:
var df =
sqlContext.read.format("com.databricks.spark.csv").option("header",
"true").option("DROPMALFORMED", "true").load(input)
val columns = df.columns.map(x => x.toUpperCase)
df = df.toDF(columns:_*)
It would be nice for end users if the .save implementation handled this
detail
---
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.
---