soumyakanti3578 commented on code in PR #5702: URL: https://github.com/apache/hive/pull/5702#discussion_r2004175641
########## ql/src/test/queries/clientpositive/complex_type_to_string.q: ########## @@ -0,0 +1,31 @@ +create table table1(id int, txt string, num int, flag string); +create table table2(id int, txt string, num int, flag boolean); + +insert into table1 values + (1, 'one', 5, 'FALSE'), + (2, 'two', 14, 'TRUE'), + (3, NULL, 3, 'FALSE'); +insert into table2 values + (1, 'one', 5, 'FALSE'), + (2, 'two', 14, 'TRUE'), + (3, NULL, 3, 'FALSE'); + +select cast(array(*) as string) from table1; +select cast(array(*) as string) from table2; Review Comment: Added tests for complex types in udf_to_string.q -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
