Skip to content

GQL SQL Support#1822

Draft
shangyian wants to merge 3452 commits intoDataJunction:mainfrom
shangyian:gql-sql
Draft

GQL SQL Support#1822
shangyian wants to merge 3452 commits intoDataJunction:mainfrom
shangyian:gql-sql

Conversation

@shangyian
Copy link
Copy Markdown
Collaborator

Summary

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

agorajek and others added 30 commits October 2, 2025 20:46
Co-authored-by: GitHub Actions Bot <>
* Add bulk loading of parents before node validation

* Reuse create context

* Add check for metric validation

* Replace existing metric validation func
)" (DataJunction#1407)" (DataJunction#1451)

* Revert "Revert "Fix hashing on measure decomposition. (DataJunction#1404)" (DataJunction#1407)"

This reverts commit ad99fac.

* Adjust unit tests.
* Switch to single transaction deploys so that we don't need to run multiple db transactions in parallel

* Fix various minor bugs: tags should be updated rather than appended to, roles should be taken into account when comparing dimension links, and when searching for source tables, we should deduplicate
…les (DataJunction#1528)

* Support querying across multiple hops on the dimensions graph with roles

* Fix tests

* Add check for columns

* Fix tests
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: GitHub Actions Bot <>
* Add better handling for deploying source nodes

* Fix tests
Co-authored-by: GitHub Actions Bot <>
* Handle catching rollback failures in session manager

* Fix session reuse when compiling node sql

* Revert "Fix session reuse when compiling node sql"

This reverts commit e877420.

* Revert "Handle catching rollback failures in session manager"

This reverts commit 1386dc0.

* Fix compiling node queries
Co-authored-by: GitHub Actions Bot <>
* Add support deleting nodes via the DJ CLI

* Add tests for cli deletions

* Fix tests
Co-authored-by: GitHub Actions Bot <>
* Update postgres data directory to new postgres 18 structure

* include principalkind in when creating dj user in demo setup
* Add additional cli functionality

* Handle error cases, docs, full test coverage

* Add support for multiple dimensions and filters
…de details edit page (DataJunction#1547)

* Fix custom_metadata field bug and make some other small changes to node details page

* make lint

* prettier

* update UI test

* fix server test

* Fix default for custom metadata

* Fix test

* Change back to is None check

---------

Co-authored-by: Yian Shang <yian.shang@gmail.com>
Co-authored-by: GitHub Actions Bot <>
…nction#1550)

* Switch to using the same codemirror editor for custom metadata editing

* Fix
* MAX_BY and MIN_BY functions cannot be decomposed, so metric decomposition should reflect that

* Fix tests

* Remove unused part of query ast update after max_by decomposition
Co-authored-by: GitHub Actions Bot <>
* If a role path is provided, should stick to the role path

* Enable role path dimensions in filters
Manage filters and dimensions resolution correctly
Fix tests

* Fix tests

* Add test for storing cubes that have dimensions with role paths

* Fix
…1552)

* When using the DJ client to retrieve metrics data, rename all output columns from their physical names to their semantic names

* Fix

* Fix tests
* Fix some inconsistencies with metric display name for cubes when deployed
make cube deployment part of singular commit

* Remove extraneous CreateCube input map

* Fix

* Fix cube deployment validation

* Refactor batch load of metrics and dimensions as separate functions

* Make sure that we can set tags for cubes

* Fix tests

* Fix and cleanup tests

* Fix tests
Co-authored-by: GitHub Actions Bot <>
Update YAML docs given new deployment setup
Co-authored-by: GitHub Actions Bot <>
…Junction#1568)

* Improve namespace creation UX with inline folder-like interface

* Fix tests

* Fix lint
* Add support for editing reference links and dimension links

* Make edit icon show up by default

* Limit the max size of the Dimension Links column

* Fix adding, editing or removing complex dim link

* Fix tests

* lint

* Fix tests

* Add ability to refresh page after removing dim link

* Add tests

* lint
shangyian and others added 28 commits February 25, 2026 03:39
…DataJunction#1783)

* Fix required dimensions component to read/write formik state properly

* Fix lint

* Fix tests
Co-authored-by: GitHub Actions Bot <actions@github.com>
* Upgrade checkout version and add hatchling

* Fix
)

* Add type inference support for logical and + logical or in AST

* Add test for logical and/or
* Enable self-joins with role

* Add tests for self join dimension links

* Add self join SQL gen tests

* lint
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
Co-authored-by: GitHub Actions Bot <actions@github.com>
* Add tests for new tools

* Fix tests
* Add docs on using DJ with AI assistants

* Clean up docs on using DJ with AI assistants

* Shorten
Co-authored-by: GitHub Actions Bot <actions@github.com>
* Fix UI validation errors and form crashes

* Fix lint

* Fix

* Fix tests
Co-authored-by: GitHub Actions Bot <actions@github.com>
* Fix issue with editing transforms

* Fix
Co-authored-by: GitHub Actions Bot <actions@github.com>
* Fix server validation and dependency tracking

* Fix some tests

* Fix issues with restore validation

* Fix tests

* Remove logging

* Fix tests

* Fix
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 4, 2026

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit 5c000f4
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/69a84f780a3ec30008889837

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants