[ 
https://issues.apache.org/jira/browse/SPARK-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063530#comment-14063530
 ] 

Michael Armbrust commented on SPARK-2443:
-----------------------------------------

[~chutium], I would recommend using the native parquet interface if possible 
(explained in the programming guide: 
http://spark.apache.org/docs/latest/sql-programming-guide.html).  That said, 
others have reported success using the hive serde for parquet as well.

Please ask future questions on the user mailing list and not JIRA: 
https://spark.apache.org/community.html

> Reading from Partitioned Tables is Slow
> ---------------------------------------
>
>                 Key: SPARK-2443
>                 URL: https://issues.apache.org/jira/browse/SPARK-2443
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Michael Armbrust
>            Assignee: Zongheng Yang
>             Fix For: 1.1.0, 1.0.2
>
>
> Here are some numbers, all queries return ~20million:
> {code}
> SELECT COUNT(*) FROM <non partitioned table>
> 5.496467726 s
> SELECT COUNT(*) FROM <partitioned table stored in parquet>
> 50.266666947 s
> SELECT COUNT(*) FROM <same table as previous but loaded with parquetFile 
> instead of through hive>
> 2s
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to