spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feynman Liang (JIRA)" <>
Subject [jira] [Commented] (SPARK-10199) Avoid using reflections for parquet model save
Date Mon, 31 Aug 2015 22:20:46 GMT


Feynman Liang commented on SPARK-10199:

CC [~mengxr] [~josephkb]

> Avoid using reflections for parquet model save
> ----------------------------------------------
>                 Key: SPARK-10199
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, MLlib
>            Reporter: Feynman Liang
>            Priority: Minor
> These items are not high priority since the overhead writing to Parquest is much greater
than for runtime reflections.
> Multiple model save/load in MLlib use case classes to infer a schema for the data frame
saved to Parquet. However, inferring a schema from case classes or tuples uses [runtime reflection|]
which is unnecessary since the types are already known at the time `save` is called.
> It would be better to just specify the schema for the data frame directly using {{sqlContext.createDataFrame(dataRDD,

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message