Aggarwal-Raghav commented on PR #6654:
URL: https://github.com/apache/hive/pull/6654#issuecomment-5474648013

   is did test out of scope `CAST VARIANT As x` and giving unexpected output. I 
believe its outside scope of PR.
   
   
   ```sql
   CREATE EXTERNAL TABLE variant_string_bug (id INT, v VARIANT) STORED BY 
ICEBERG TBLPROPERTIES ('format-version'='3');
   INSERT INTO variant_string_bug VALUES (1, CAST('{"name": "John"}' AS 
VARIANT));
   SELECT id, v FROM variant_string_bug;
   SELECT id, CAST(v AS STRING) FROM variant_string_bug;
   ```
   
   <img width="1438" height="471" alt="Screenshot 2026-08-31 at 11 55 39 AM" 
src="https://github.com/user-attachments/assets/76ed1be6-aedc-448f-9d73-7347417f854f";
 />
   


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