Skip to content

[Bug] Quoting Identifier True and Persist docs #130

@PoleDecisionnelBAO

Description

@PoleDecisionnelBAO

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If the Quoting Identifier parameter is set to True, column comments do not work with persist_docs

Expected Behavior

In the file adaptaders.sql I change this line

comment on column {{ relation }}.{{ column_name }} is {{ escaped_comment }}

to

comment on column {{ relation }}.{{adapter.check_and_quote_identifier(column_name, model.columns)}} is {{ escaped_comment }}

and it works for me

Steps To Reproduce

No response

Relevant log output using --debug flag enabled

No response

Environment

No response

What Oracle database version are you using dbt with?

19c

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions