Support for groupBy and time series aggregations in GraphQL Data APIs

Feature

When querying datasets with the GraphQL Data APIs, you can now bucket time series data by common grains (day, week, etc) and aggregate data within time buckets. You can also groupBy other dimensions to segment the data. Check out our docs for more info!

query {
    purchasesQuery(
      filter: {
        item_type: {
          in: ["pants", "skirts", "shorts"]
        }
        payment_status: {
          eq: "successful"
        }
      }
      groupBy: [purchase_timeDay,item_type]
    ) {
      purchase_amountSum 
      purchase_timeDay 
      item_type 
    }
}
Patch logo
Cover

Patch Changelog

Jul

12

Python Data Packages

Announcement

Data Packages are code libraries with a live connection to an underlying data source. They provide a powerful interface for querying, access control, versioning, performance optimization and more; over all your data, no matter where it lives. This could be any database or file system.

The Data Package can be installed using a package manager like pip . Then, it's imported like a library dependency into your code, whether that’s a backend service performing machine learning or enrichment tasks, a customer-facing application, or even an external consumer buying access from you directly to build using the package.

A dpm-agent intelligently routes queries submitted by consumers of a Data Package to the appropriate backend source, enforces access policies and applies performance optimizations. 

Today, we're excited to announce support for generated Python packages!

Sign up for early access at www.dpm.sh!

Jul

05

TypeScript / Node.js Data Packages

Announcement

Data Packages are code libraries with a live connection to an underlying data source. They provide a powerful interface for querying, access control, versioning, performance optimization and more; over all your data, no matter where it lives. This could be any database or file system.

The Data Package is imported like a library dependency into your code, whether that’s a backend service performing machine learning or enrichment tasks, a customer-facing application, or even an external consumer buying access from you directly to build using the package.

A dpm-agent intelligently routes queries submitted by consumers of a Data Package to the appropriate backend source, enforces access policies and applies performance optimizations. 

Today, we're excited to announce support for generated Node.js & TypeScript packages!