Comments (8)
Which database are you using?
can you post the table DDL?
from dbt-coves.
Hi @noel— using redshift. I've been unable to determine what's different about these tables. The columns are a mix of VARCHAR, INT, GEOMETRY, and DATE columns.
I've used dbt-coves successfully with similar tables, so I'm not entirely sure where to start here
from dbt-coves.
Do you have other tables that work with a Geometry data type?
from dbt-coves.
@noel Yes, I can confirm I've used dbt-coves
for those. The issue only seems to occur on a single schema.
from dbt-coves.
@noel Fixed! I think I needed to explicitly grant update permissions to the Redshift user creating the models. This wasn't an issue for other schemas, since this redshift user owned the other tables.
It might be helpful to document explicitly what GRANTs the dbt-coves database user needs
from dbt-coves.
@mattppal we are using the dbt adapter, nothing special in terms of permissions. I wonder if dbt would complain with the permissions you had initially e.g. like if you do dbt docs generate
that also needs to get info on the column data types. etc
from dbt-coves.
@noel Just ran into the issue again and pinpointed the fix— it's running GRANT ALTER ON TABLE xyz
to the appropriate user 👍
from dbt-coves.
Closing as not a dbt-coves issue.
from dbt-coves.
Related Issues (20)
- Include `filter`, `select`, and `exclude` arguments in generate source HOT 3
- [BUG] Generate Sources in BigQuery with same table name (different cases) HOT 1
- Run pre-commit checks on CI HOT 1
- [BUG] Updating existing source yml removes pre-existing quotes from description HOT 7
- [BUG] ❌ 'bool' object has no attribute 'parent' after running `dbt-coves setup all` HOT 3
- Feature request: For automation, add more defaults (and ideally, an `all` option for some) for `generate sources` HOT 3
- Feature Request: Snowflake: Multithreading for performance? HOT 5
- Question: Should `generate sources` remove sources/staging models that are no longer in the database? HOT 2
- [BUG] (question) `generate sources` doesn't pick up new columns HOT 1
- Request:`generate sources`: Quote columns that use SQL keywords (such as `GROUP`) HOT 3
- [feat] Setup task expansion to cover lifecycle of dbt-coves vendored components
- Feature: Generate docs.md files with link to schema.yml columns
- Feature: Get source descriptions from OpenAPI specifications
- [BUG] Arrays are casted as string or record HOT 4
- [BUG] Unable to install v1.3 via PyPI/pip HOT 2
- Feature request: `generate sources` "update" mode also update staging models (rather than overwrite or leave unchanged) HOT 2
- Allow custom model naming HOT 1
- Option to not generate source.yml by default HOT 1
- Support for dbt 1.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt-coves.