Giter VIP home page Giter VIP logo

Comments (3)

dbeatty10 avatar dbeatty10 commented on June 12, 2024

Thanks for raising this issue @hantmac !

Can you share more details how you are getting this error? i.e., if you are using a programmatic invocations Python script, could you share it along with a minimal set of dbt project files that reproduces this issue?

Looking at the logs, it looks like you are using a beta version of the dbt-databend adapter. For some reason, it looks like it is executing the TestDocsGenerateSnowflake test (inherited from here).

from dbt-core.

hantmac avatar hantmac commented on June 12, 2024

Thanks for raising this issue @hantmac !

Can you share more details how you are getting this error? i.e., if you are using a programmatic invocations Python script, could you share it along with a minimal set of dbt project files that reproduces this issue?

Looking at the logs, it looks like you are using a beta version of the dbt-databend adapter. For some reason, it looks like it is executing the TestDocsGenerateSnowflake test (inherited from here).

Thanks for response! I just write a test case for dbt-databend, the python code is as follows:

class TestDocsGenerateDatabend(BaseDocsGenerate):
    pass

from dbt-core.

dbeatty10 avatar dbeatty10 commented on June 12, 2024

This is the Python error that crops up any time you call lower() on a non-string object.

So one possibility is that your adapter is passing a None Relation around, and it's ending up here (or somewhere else).

BaseDocsGenerate is extended without issue by dbt-postgres, dbt-snowflake, etc. without issue.

So my belief is that this isn't an issue in dbt-core dbt-adapters, but rather that there's a bug somewhere in dbt-databend that is causing there to be a non-string Relation object, and this test is exposing it. So I'm going to close this issue as "not a bug".

from dbt-core.

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.