dbt-labs / dbt-labs/dbt-external-tables

Unable to customize the meta columns

Open
#366 1 comment 0 reactions 0 assignees View on GitHub
bug Stale triage
Dominant language
Jupyter Notebook
Stars
384
Forks
150
Avg merge
1h 25m
Merged PRs (30d)
1

Description

### Describe the bug
We have standard that meta columns should start with "_" however, it is not possible to customize in snowpipetable columns now. Also,
have usecase to add some constants as part of ingestion such as _feedname, _sourcename etc..

**https://github.com/dbt-labs/dbt-external-tables/blob/main/macros/plugins/snowflake/snowpipe/get_copy_sql.sql#L26**

### Steps to reproduce
Create a snowpipeline table
change the metadata column and it should start with "_" or customize the names
### Expected results
Should be able to customize the column names
### Actual results

customize the column name should populate in desctination table .

### Screenshots and log output

### System information
**The contents of your `packages.yml` file:**

**Which database are you using dbt with?**
- [ ] snowflake

**The output of `dbt --version`:**
1.10.0

**The operating system you're using:**

**The output of `python --version`:**

### Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.