HyukjinKwon commented on a change in pull request #26279: [SPARK-28382][SQL] Add array function - unnest URL: https://github.com/apache/spark/pull/26279#discussion_r346691887
########## File path: sql/core/src/test/resources/sql-tests/inputs/postgreSQL/join.sql ########## @@ -1089,10 +1089,9 @@ order by fault; -- left join unnest(v1ys) as u1(u1y) on u1y = v2y; -- [SPARK-28382] Array Functions: unnest --- select * from --- (values (1, array(10,20)), (2, array(20,30))) as v1(v1x,v1ys) --- left join (values (1, 10), (2, 20)) as v2(v2x,v2y) on v2x = v1x --- left join unnest(v1ys) as u1(u1y) on u1y = v2y; +create or replace temporary view v1 as select * from values (1, array(10,20)), (2, array(20,30)) as v1(v1x,v1ys); +create or replace temporary view v2 as select * from values (1, 10), (2, 20) as v2(v2x,v2y); Review comment: Hm, why is it different from commented? Does it match to PostgreSQL's? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
