Description
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.
Attachments
Issue Links
- duplicates
-
SPARK-32694 Pushdown cast to data sources
- Resolved
- relates to
-
SPARK-9182 filter and groupBy on DataFrames are not passed through to jdbc source
- Resolved
-
SPARK-32858 UnwrapCastInBinaryComparison: support other numeric types
- Resolved
-
SPARK-35316 UnwrapCastInBinaryComparison support In/InSet predicate
- Resolved
-
SPARK-36607 Support BooleanType in UnwrapCastInBinaryComparison
- Resolved
- links to