spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-24959) Do not invoke the CSV/JSON parser for empty schema
Date Thu, 01 Nov 2018 12:33:00 GMT

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

Apache Spark commented on SPARK-24959:
--------------------------------------

User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/22920

> Do not invoke the CSV/JSON parser for empty schema
> --------------------------------------------------
>
>                 Key: SPARK-24959
>                 URL: https://issues.apache.org/jira/browse/SPARK-24959
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Major
>             Fix For: 2.4.0
>
>
> Currently JSON and CSV parsers are called even if required schema is empty. Invoking
the parser per each line has some non-zero overhead. The action can be skipped. Such optimization
should speed up count(), for example.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message