(Release) Introducing calculated fields, manual semantic types, and new schema properties.

294 views
Skip to first unread message

mjhamrick

unread,
Dec 13, 2017, 4:54:25 PM12/13/17
to Data Studio Developers

The Data Studio Developer Relations team is excited to announce the following new features for Community Connectors.


Calculated Fields in Schema

You can now define formulas in your schema. See Using calculated fields in schema for a full explanation.


Manual Semantic Types

You can now manually define semantic types in your connector’s schema. This feature lets your connector use semantic types such as percent or currency that cannot normally be identified using semantic detection. For an overview of the difference between manually setting semantic types and automatic semantic detection, see Data types and semantic types


Additional Schema Properties

You can now additionally define the following properties:

  • description: Description for the field. 
  • defaultAggregationType: Optional property that indicates what aggregation Data Studio should default to.
  • isDefault: Optional property that will indicate if a field should be selected as the default dimension or metric. 
  • group: Optional property that indicates a field belongs to a group. Groups are used to group together like values in the “Metric picker” and “Dimension picker” of the Data Studio UI.


Migrating Existing Connectors

None of these additions will break any of your existing connector code, and there is a straightforward upgrade path. Take a look at Updated connector for new schema features for an example of what you can expect your changes to look like.


Thanks,

Matt Hamrick

Reply all
Reply to author
Forward
0 new messages