tschwarzinger commented on code in PR #26822:
URL: https://github.com/apache/datafusion/pull/26822#discussion_r4797522656


##########
datafusion/sqllogictest/test_files/sql_extension_types.slt:
##########
@@ -111,6 +111,53 @@ NULL
 statement ok
 DROP TABLE test_json;
 
+#######
+# Parquet Variant Extension Type
+#######
+
+# VARIANT maps to unshredded storage with non-nullable metadata and value 
fields
+statement ok
+CREATE TABLE test_variant (v VARIANT);

Review Comment:
   I think the SQL parser integration is a good idea. Just thinking about 
whether we will automatically catch that `VARIANT` no longer works once we 
upgrade to the new built-in data type from your 
[PR](https://github.com/apache/datafusion-sqlparser-rs/pull/3095).
   
   I think this should break the code on the upgrade as we receive a 
`DataType::Variant` instead of `DataType::Custom`. So hopefully we won't forget 
to delete the old workaround with custom when upgrading the SQL parser.



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