kokila-19 commented on PR #6152:
URL: https://github.com/apache/hive/pull/6152#issuecomment-3547235743

   
   I tested variant_type_shredding.q by removing 
'variant.shredding.enabled'='true' from the table properties, and the qtest 
still passes without any failures.
   This test verifies that basic INSERT/SELECT operations succeed with VARIANT 
columns but not actual shredding in the file.
   This testing is not possible in qtest.
   
   so maybe we can add a JUnit test (e.g., TestVariantShredding) that:
   Writes VARIANT data with variant.shredding.enabled=true and false
   Opens the resulting Parquet files via ParquetFileReader
   Asserts that the typed_value field is present/absent accordingly
   


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