You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wei Liu (JIRA)" <ji...@apache.org> on 2017/01/21 17:02:26 UTC
[jira] [Created] (SPARK-19322) Allow customizable column name in
ScalaReflection.schemaFor
Wei Liu created SPARK-19322:
-------------------------------
Summary: Allow customizable column name in ScalaReflection.schemaFor
Key: SPARK-19322
URL: https://issues.apache.org/jira/browse/SPARK-19322
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 2.1.0
Reporter: Wei Liu
Priority: Minor
When creating StructType using Scalarelfection.schemaFor, the column names are defined by scala case class parameter names. This causes minor inconvenience when reading/writing data between Python and Scala. Ideally, we should allow customize column names using Scala annotations in a similar fashion to Jackson serialization libraries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org