Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Exports] Add exports configuration to YAML spec #189

Closed
1 task done
Tracked by #191
courtneyholcomb opened this issue Oct 24, 2023 · 1 comment · Fixed by #190
Closed
1 task done
Tracked by #191

[Exports] Add exports configuration to YAML spec #189

courtneyholcomb opened this issue Oct 24, 2023 · 1 comment · Fixed by #190
Assignees

Comments

@courtneyholcomb
Copy link
Contributor

courtneyholcomb commented Oct 24, 2023

Housekeeping

  • I am a maintainer of dbt-semantic-interfaces

Short description

Add exports options to YAML spec.

Acceptance criteria

YAML for exports should look like the following (nested under saved_queries):

saved_queries:
  - name: my_query
    description:
    query:
      metrics:
        -
      group_bys:
        - TimeDimension()
        - ...
      where:
        -
    exports:
      - name: my_query 
         config:
           export_as: table # options: table, view - FUTURE: incremental_table, window_table, file
           schema: my_schema  # [optional - DEFAULT to deployment schema]
           alias: some_table_name # [optional - DEFAULT to export name]

Impact to Other Teams

N/A

Will backports be required?

No

Context

No response

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 a pull request may close this issue.

3 participants