cloud-fan commented on code in PR #51190:
URL: https://github.com/apache/spark/pull/51190#discussion_r2155805659


##########
sql/core/src/test/resources/sql-tests/inputs/variant-field-extractions.sql:
##########
@@ -0,0 +1,13 @@
+-- Simple field extraction and type casting.
+select parse_json('{ "price": 5 }'):price;

Review Comment:
   nit: we can create a temp view with one or more VARIANT columns, to simplify 
the other SELECT queries in this test.



-- 
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]

Reply via email to