Giter Club home page Giter Club logo

Comments (8)

noel avatar noel commented on May 19, 2024

Which database are you using?

can you post the table DDL?

from dbt-coves.

mattppal avatar mattppal commented on May 19, 2024

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.

noel avatar noel commented on May 19, 2024

Do you have other tables that work with a Geometry data type?

from dbt-coves.

mattppal avatar mattppal commented on May 19, 2024

@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.

mattppal avatar mattppal commented on May 19, 2024

@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.

noel avatar noel commented on May 19, 2024

@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.

mattppal avatar mattppal commented on May 19, 2024

@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.

ssassi avatar ssassi commented on May 19, 2024

Closing as not a dbt-coves issue.

from dbt-coves.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.