You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "cloud-fan (via GitHub)" <gi...@apache.org> on 2023/07/17 03:14:50 UTC

[GitHub] [spark] cloud-fan commented on a diff in pull request #42007: [SPARK-44431][SQL] Fix behavior of null IN (empty list) in optimization rules

cloud-fan commented on code in PR #42007:
URL: https://github.com/apache/spark/pull/42007#discussion_r1264806089


##########
sql/core/src/test/resources/sql-tests/inputs/subquery/in-subquery/in-null-semantics.sql:
##########
@@ -0,0 +1,57 @@
+create temp view v (c) as values (1), (null);
+create temp view v_empty (e) as select 1 where false;
+
+-- Note: tables and temp views hit different optimization/execution codepaths
+create table t(c int) using parquet;

Review Comment:
   nit: if file format doesn't matter, probably json/csv is better as it's faster to create and read small tables.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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