Description
Example:
spark.range(10000).write.saveAsTable("t1") spark.sql("select * from (select id, '1' as type from t1) where type in (select cast(1 as string) from range(100))").show
Example:
spark.range(10000).write.saveAsTable("t1") spark.sql("select * from (select id, '1' as type from t1) where type in (select cast(1 as string) from range(100))").show