Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/17928#discussion_r115913870
--- Diff: sql/core/src/test/resources/sql-tests/inputs/inline-table.sql ---
@@ -49,3 +49,6 @@ select * from values ("one", count(1)), ("two", 2) as
data(a, b);
-- string to timestamp
select * from values (timestamp('1991-12-06 00:00:00.0'),
array(timestamp('1991-12-06 01:00:00.0'), timestamp('1991-12-06 12:00:00.0')))
as data(a, b);
+
+-- cross-join inline tables
+SELECT * FROM VALUES ('one', 1), ('three', null) CROSS JOIN VALUES ('one',
1), ('three', null);
--- End diff --
does this expose the bug? If we treat CROSS as an alias, we still the same
result. how about we run EXPLAIN?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]