Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown for Snowflake has limited Type information #337

Open
awhitford-cip opened this issue Mar 9, 2022 · 0 comments
Open

Markdown for Snowflake has limited Type information #337

awhitford-cip opened this issue Mar 9, 2022 · 0 comments
Labels
bug Something isn't working pull request wanted

Comments

@awhitford-cip
Copy link

What happened

When running doc against a Snowflake database, the generated markdown does not include the full type information. For example, I am seeing NUMBER or TEXT instead of Number(10,5) or Varchar(20).

What you expected to happened

I would expect to see the scale and precision values, so instead of NUMBER or TEXT we would see Number(10,5) or Varchar(20) -- whatever the precision and scale is defined for the column.

What stack trace or error message from tbls did you see?

N/A

Anything else we need to know?

Running the docker image: docker://ghcr.io/k1low/tbls

I confirmed that this metadata is available in INFORMATION_SCHEMA.

Environment

  • tbls version - v1.54.2
  • Database - Snowflake
  • OS - Ubuntu
  • Shell ( bash, zsh, poworshell, etc ) - Docker
  • Config ( .tbls.yml )
dsn: snowflake://${TBLS_DB_USERNAME}:${TBLS_DB_PASSWORD}@${TBLS_DB_ACCOUNT}/${TBLS_DB_DATABASE}/${TBLS_DB_SCHEMA}

lint:
  requireTableComment:
    enabled: true
  requireColumnComment:
    enabled: true

er:
  skip: true
@awhitford-cip awhitford-cip added the bug Something isn't working label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pull request wanted
Projects
None yet
Development

No branches or pull requests

2 participants