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

[FEATURE] Ability to nest tables/views/etc under their parent schema or database config #179

Open
GClunies opened this issue Dec 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@GClunies
Copy link

GClunies commented Dec 18, 2024

I'd like the ability to nest tables/views/etc under their parent database and/or schema config. Something like this.

# test_db.yml

databases:
  - name: test_db
    schemas:
      - name: test_schema
        tables:
          - name: test_table
            columns:
              - name: col1
                data_type: string
              - name: col2
                data_type: integer
                
          - name: test_table_2
             columns:
              - name: col1
                data_type: boolean
              - name: col2
                data_type: number
                 
        views:
          - name: test_view
            columns:
              - name: col1
                data_type: string
              - name: col2
                data_type: integer

I am not sure how far you want to extend this idea. Maybe the same would be possible for anything that is defined at the schema level (tables, views, file formats, stages, tasks, streams, sequences, procedures, etc)?

image

I am not certain I would always use the nesting for everything, but the flexibility would be nice.

@GClunies GClunies changed the title Ability to nest tables/views/etc under their parent schema or database config feature request: Ability to nest tables/views/etc under their parent schema or database config Dec 18, 2024
@GClunies GClunies changed the title feature request: Ability to nest tables/views/etc under their parent schema or database config [FEATURE] Ability to nest tables/views/etc under their parent schema or database config Dec 18, 2024
@teej teej added the enhancement New feature or request label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants