Lynk docs
  • Introduction
  • Reference
    • Data Modeling
      • Entities
      • Relationships
        • Entity-to-Entity Relations
        • Entity-to-Asset Relations
      • Features
        • Field
        • Metric
        • First-Last
        • Formula
        • Filters
        • Chaining Features
      • Measures
      • Data Assets
      • Time Aggregations
      • Lynk Functions
        • POP
      • Context
    • Consume & APIs
      • Authentication
      • SQL API
      • SQL REST API
      • Cache & Pre-Aggregations
    • Governance
    • Integrations
      • Git
      • Query Engines
    • AI Agents
Powered by GitBook
LogoLogo

Start now

  • Request Access

Website

  • Home
On this page
  • Code-first
  • Connecting a Git repository
  • Working with Git
  • Working with YAML files as code
  • Working with the Studio
  • Freedom to create
  1. Reference
  2. Integrations

Git

PreviousIntegrationsNextQuery Engines

Last updated 5 months ago

Code-first

Everything built on Lynk translates to code and is version controlled, even if built via the Studio. Apply coding best practices, CI/CD and tests to semantics definitions - while letting business users and analysts move fast.

Connecting a Git repository

Connecting a Git repository is done on the onboarding process.

Once connected, Lynk will work with this repository to save the project files.


Working with Git

Adding and editing things like entities, features, measures and any other semantic definition to your Lynk project is done on a Git branch and needs to go through a Git PR (Pull Request) in order to be merged to the main brach (HEAD) of your repository.

Working with YAML files as code

If you are working with YAML files to add and edit semantic definitions, make sure you're working with the right branch to commit your changes via your IDE (eg VScode) and once your changes are ready, It is recommended to create a PR for review with another data team member, and then merge those changes to the main branch (Production).

Working with the Studio

If you are working with Lynk Studio to add and edit semantic definitions, you can choose the branch on the top bar when the Studio is on edit mode. When creating changes and additions using edit mode, Lynk Studio automatically commits those changes to the branch you are on. Once created a PR which is merged to your repository's main branch, you will be able to see those changes on the main branch as well.

In the above example we are on edit mode, using the branch dev.


Freedom to create

While this process enables freedom and working with fast iterations, with less cross-team dependencies and less ad hoc requests to the DE team, Data Engineers still stay in focus on what's changing and/or added to the Source of truth - with Git version control capabilities.

Working with Git enables users like Analysts create business logic (e.g features) on the Studio, without being dependent on Data Engineers (or Analytics Engineers) - and then test it and consume it using the option on the configuration block of the SQL API.

branch
USE
Connecting a Git repository on the onboarding process
On the top bar, you can switch to edit mode and choose a branch to work on