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

Query metadata of external tables #306

Open
RalfKow opened this issue Jul 1, 2024 · 3 comments
Open

Query metadata of external tables #306

RalfKow opened this issue Jul 1, 2024 · 3 comments
Labels
enhancement New feature or request triage

Comments

@RalfKow
Copy link

RalfKow commented Jul 1, 2024

Describe the feature

There would be metadata columns added to the external table

Describe alternatives you've considered

Not using external tables and creating a table.

Additional context

I would love to use dbt external table but I need the file name because it contains valuable information that I need further down the pipelin

Who will this benefit?

Every use case that needs metadata

@RalfKow RalfKow added enhancement New feature or request triage labels Jul 1, 2024
@dataders
Copy link
Collaborator

dataders commented Jul 1, 2024

which data platform are you using?

@RalfKow
Copy link
Author

RalfKow commented Jul 1, 2024

I'm using Snowflake with external stages on Azure blobstorage

@srjefers
Copy link

If that is possible, I would like to be able to query metadata comming from the stage, METADATA$FILENAME or MEDATADATA$FILE_ROW_NUMBER, also is there a way that we can use custom column or that we can set a hardcoded value into the column? I mean something such like the current_date().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

3 participants