[
https://issues.apache.org/jira/browse/SPARK-24994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566336#comment-16566336
]
Apache Spark commented on SPARK-24994:
--------------------------------------
User '10110346' has created a pull request for this issue:
https://github.com/apache/spark/pull/21957
> When the data type of the field is converted to other types, it can also
> support pushdown to parquet
> ----------------------------------------------------------------------------------------------------
>
> Key: SPARK-24994
> URL: https://issues.apache.org/jira/browse/SPARK-24994
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.0
> Reporter: liuxian
> Priority: Major
>
> For this statement: select * from table1 where a = 100;
> the data type of `a` is `smallint` , because the defaut data type of 100 is
> `int` ,so the data type of 'a' is converted to `int`.
> In this case, it does not support push down to parquet.
> In our business, for our SQL statements, and we generally do not convert 100
> to `smallint`, We hope that it can support push down to parquet for this
> situation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]