How is the property stored when it has a different datatype that the base schema?

Nandu S Raj 80 Reputation points
2024-12-09T10:23:31.2566667+00:00

In this MS Analytical store docs link , it says that the analytical store doesn't "include" a property if it's of a different type than it's base schema. Just out of curiosity , does it mean in the column store it stores null against that property for that document, or is that property completely ignored at that index?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,093 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,710 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,048 questions
{count} votes

Accepted answer
  1. Ganesh Gurram 2,305 Reputation points Microsoft Vendor
    2024-12-09T17:37:57.5966667+00:00

    Hello @Nandu S Raj

    Thanks for the question and using MS Q&A forum.

    When a property in a document has a datatype that differs from what is specified in the base schema, that property is not included in the analytical store at all. This means that:

    The property is completely ignored for that document in the column store.

    There is no placeholder or null value stored for that property; it is simply omitted from the analytical store representation.

    This design choice helps maintain the integrity and performance of the analytical store, ensuring that only properties with compatible datatypes are available for analytical queries.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click `Accept Answer` and `Yes` for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.