You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/01/09 04:54:00 UTC

[jira] [Assigned] (SPARK-26577) Add input optimizer when reading Hive table by SparkSQL

     [ https://issues.apache.org/jira/browse/SPARK-26577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-26577:
------------------------------------

    Assignee: Apache Spark

> Add input optimizer when reading Hive table by SparkSQL
> -------------------------------------------------------
>
>                 Key: SPARK-26577
>                 URL: https://issues.apache.org/jira/browse/SPARK-26577
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.1
>            Reporter: Deegue
>            Assignee: Apache Spark
>            Priority: Minor
>
> When using SparkSQL, for example the ThriftServer, if we set
> `spark.sql.hive.fileInputFormat.enabled=true`
> we can optimize the InputFormat to CombineTextInputFormat automatically if it's TextInputFormat before. And we can also change the max/min size of input splits by setting, for example
> `spark.sql.hive.fileInputFormat.split.maxsize=268435456`
> `spark.sql.hive.fileInputFormat.split.minsize=134217728`
>  
> Otherwise, we have to modify Hive Configs and structure of tables.



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