Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Conversation

@lamalex
Copy link

@lamalex lamalex commented Aug 3, 2024

Match case to column names returned rather than hardcoding.
Fixes: #1086

resolves #1086
docs dbt-labs/docs.getdbt.com/#

Problem

DBT crashing due to column case mismatch in response from databricks on show grants statement.

Solution

Match column name case to response rather than hardcoding names.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

…in grants table response

Match case to column names returned rather than hardcoding.
Fixes: dbt-labs#1086
@lamalex lamalex requested a review from a team as a code owner August 3, 2024 16:13
@cla-bot
Copy link

cla-bot bot commented Aug 3, 2024

Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA.

In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR.

CLA has not been signed by users: @lamalex

@lamalex
Copy link
Author

lamalex commented Aug 3, 2024

Signed!

@cla-bot
Copy link

cla-bot bot commented Aug 3, 2024

Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA.

In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR.

CLA has not been signed by users: @lamalex

@lamalex
Copy link
Author

lamalex commented Aug 3, 2024

signed again!

@amychen1776 amychen1776 added the feature:grants Issues related to dbt's grants functionality label Sep 18, 2024
@mikealfare mikealfare added the community This PR is from a community member label Dec 11, 2024
@github-actions
Copy link
Contributor

This PR has been marked as Stale because it has been open with no activity as of late. If you would like the PR to remain open, please comment on the PR or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community This PR is from a community member feature:grants Issues related to dbt's grants functionality Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Crash when dbt runs show grants statement due to column name capitalization mismatch

3 participants