Git Product home page Git Product logo

Comments (5)

McKnight-42 avatar McKnight-42 commented on August 20, 2024

@caoilte Thank you for pointing this out, after trying to replicate your issue i'm wondering if you could give me a little more context? or additional config information in your projects.yml that might be pointing to a failing cause as we haven't been able to make capitals in either file name of a csv seed file or yml schema cause failure.

from dbt-bigquery.

caoilte avatar caoilte commented on August 20, 2024

Hi @McKnight-42 ,
Our steps were,

  1. create a GBQ dataset (as part of a model) with a capitalised name (eg "caoilte_Bananas_raw"). This worked fine for a few weeks as a source.
  2. create a seed which was assigned to dataset "caoilte_Bananas_raw". This failed with the above.

We never had a problem with capitals in the file names. It was always the dataset that it was assigned to which caused a problem.

However, we've also since banned capitalised letters in our dataset and table names to de-risk ourselves. So if you're unable to reproduce we won't be greatly inconvenienced at this point.

from dbt-bigquery.

McKnight-42 avatar McKnight-42 commented on August 20, 2024

@caoilte thank you for the furthered context so far we have tried the following please let me know if I've missed anything.

  1. created a seed csv file named test.csv and tried it locally with a dbt seed which worked
  2. changed name to Test.csv and tried again which also worked.
  3. set up a seed configuration in project.yml for Test which also passed:
    dbt_project.yml
seeds:
    +schema: Test
dbt seed

1 of 1 START seed file dbt_user_Test.test................................... [RUN]
1 of 1 OK loaded seed file dbt_user_Test.test............................... [INSERT 1 in 3.44s]

on pass this also added the dataset dbt_user_Test to my bigquery project.
4. made sure file name and configure name were different which also worked with dbt seed
5. also tried creating a federated table and added it to big query as a table in a dataset and using it as a source for a seed which did not get picked up as the seed file itself wasn't a csv file. (dbt seed didn't fail here just didn't look at the .sql file)

from dbt-bigquery.

caoilte avatar caoilte commented on August 20, 2024

Yeah. I'm struggling to reproduce in a fresh project. Maybe there's something weird about our macro to use part of our resource paths as dataset names. happy to close.

from dbt-bigquery.

McKnight-42 avatar McKnight-42 commented on August 20, 2024

@caoilte alright, thank you for following up with us, I will close this issue for now if it or something similar comes up again please reach out.

from dbt-bigquery.

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.