Hello @Rub Ire Pos,
Welcome to the MS Q&A platform.
You seem to be facing an issue with the schema import while reading a parquet file using a Data Flow Activity in Azure Synapse Analytics.
As per the documentation, the columns coming into your data flow from your source definition are defined as "drifted" when they are not present in your source projection.
You can view your source projection from the projection tab in the source transformation. When you select a dataset for your source, the service will automatically take the schema from the dataset and create a projection from that dataset schema definition.
In a source transformation, schema drift is defined as reading columns that aren't defined in your dataset schema. To enable schema drift, check Allow schema drift in your source transformation.
In a sink transformation, schema drift is when you write additional columns on top of what is defined in the sink data schema.
To enable schema drift, check Allow schema drift in your sink transformation.
If schema drift is enabled, ensure the Auto-mapping slider in the Mapping tab is turned on.
With this slider on, all incoming columns are written to your destination. Otherwise, you must use rule-based mapping to write drifted columns.
You can access drifted columns in your transformations with the following methods:
- Use the byPosition and byName expressions to explicitly reference a column by name or position number.
- Add a column pattern in a Derived Column or Aggregate transformation to match any combination of name, stream, position, origin, or type.
- Add rule-based mapping in a Select or Sink transformation to match drifted columns to columns aliases via a pattern
I hope this helps. Please let me know if you have any further questions.
Reference document: https://learn.microsoft.com/en-us/azure/data-factory/concepts-data-flow-schema-drift