chenkovsky commented on code in PR #16610: URL: https://github.com/apache/datafusion/pull/16610#discussion_r2175074960
########## datafusion/sql/tests/cases/plan_to_sql.rs: ########## @@ -2596,3 +2600,36 @@ fn test_not_ilike_filter_with_escape() { @"SELECT person.first_name FROM person WHERE person.first_name NOT ILIKE 'A!_%' ESCAPE '!'" ); } + +#[test] +fn test_struct_expr() { + let statement = generate_round_trip_statement( + GenericDialect {}, + r#"WITH test AS (SELECT STRUCT(STRUCT(STRUCT('Product Name' as name)) as product) AS metadata) SELECT metadata.product FROM test WHERE metadata.product.name = 'Product Name'"#, Review Comment: @goldmedal could you please review it again -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org