You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/09/17 21:43:34 UTC

[jira] [Created] (SPARK-3569) Add metadata field to StructField

Xiangrui Meng created SPARK-3569:
------------------------------------

             Summary: Add metadata field to StructField
                 Key: SPARK-3569
                 URL: https://issues.apache.org/jira/browse/SPARK-3569
             Project: Spark
          Issue Type: New Feature
          Components: SQL
            Reporter: Xiangrui Meng


Want to add a metadata field to StructField that can be used by other applications like ML to embed more information about the column.

{code}
case class case class StructField(name: String, dataType: DataType, nullable: Boolean, metadata: Map[String, Any] = Map.empty)
{code}

For ML, we can store feature information like categorical/continuous, number categories, category-to-index map, etc




--
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