01-20-2026 10:57 AM
I am attempting to ingest csv files from an S3 bucket with Autoloader. Since the schema of the data is inconsistent (each csv may have different headers), I was hoping to ingest the data as Variant following this: https://docs.databricks.com/aws/en/ingestion/variant#-ingest-data-from-cloud-object-storage-as-varia.... However, when trying to create a streaming table, I always get the error in the screenshot despite passing table_properties={"delta.feature.variantType-preview": "supported"} as an argument to the flow creating my table. Does the table_properties argument not work with DLT tables for this particular property?
01-22-2026 08:16 AM
I think I found the issue... I put the table_properties in the wrong place. It goes in the decorator args not the query_function args. My bad 😕
01-20-2026 06:58 PM
The VARIANT type for CSV requires Databricks Runtime 16.4+ . can you check whats the runtime your DLT channel is running on .
01-21-2026 07:29 AM
I am on 16.4.15. Prior to attempting to ingest all as variant from csv, I was attempting to turn the csv cols into a map object and then using to_variant_object() to convert to variant, which also faced the same issue.
01-20-2026 06:59 PM
Can you also share the exact code you are running to ingest
01-21-2026 07:50 AM
01-22-2026 05:39 AM
Can you also check with your account admin if this feature is enabled at the workspace level . Since this is still in public preview they might have to enable it .
https://docs.databricks.com/aws/en/delta/variant
01-22-2026 08:16 AM
I think I found the issue... I put the table_properties in the wrong place. It goes in the decorator args not the query_function args. My bad 😕