This repository was archived by the owner on Dec 28, 2017. It is now read-only.
Description SQL:
select id_dt from full_data_type_table where id_dt not in (select id_dt from full_data_type_table where tp_decimal <> 1E10)
Plan:
== Physical Plan ==
* Project [id_dt#138L]
+- BroadcastNestedLoopJoin BuildRight, LeftAnti, (( id_dt#138 L = id_dt#138 L#258 L) || isnull((id_dt#138 L = id_dt#138 L#258 L)) )
:- TiDB CoprocessorRDD{[table: full_data_type_table] , Ranges: Start:[-9223372036854775808], End: [9223372036854775807], Columns: [id_dt], [tp_varchar], [tp_datetime], [tp_blob], [tp_binary], [tp_date], [tp_timestamp], [tp_year], [tp_bigint], [tp_decimal], [tp_double], [tp_float], [tp_int], [tp_mediumint], [tp_real], [tp_smallint], [tp_tinyint], [tp_char], [tp_nvarchar], [tp_longtext], [tp_mediumtext], [tp_text], [tp_tinytext], [tp_bit], [tp_time], [tp_enum], [tp_set]}
+- BroadcastExchange IdentityBroadcastMode
+- * Project [id_dt#138L AS id_dt#138L#258L]
+- TiDB CoprocessorRDD{[table: full_data_type_table] , Ranges: Start:[-9223372036854775808], End: [9223372036854775807], Columns: [id_dt], [tp_decimal], Aggregates: Not(IsNull([tp_decimal])), <> ([tp_decimal], 10000000000)}
Seem we didn't properly prune the plan and pushed down too many things.
Reactions are currently unavailable
SQL:
Plan:
Seem we didn't properly prune the plan and pushed down too many things.