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

Tests are broken for Databricks Adapter #209

Closed
man40 opened this issue Apr 8, 2024 · 2 comments
Closed

Tests are broken for Databricks Adapter #209

man40 opened this issue Apr 8, 2024 · 2 comments

Comments

@man40
Copy link

man40 commented Apr 8, 2024

Databricks uses backtick for identifier quote.

@man40
Copy link
Author

man40 commented Apr 8, 2024

Add a macro here:

{% macro databricks__quote_identifier(identifier) %}
    {% if identifier.startswith('`') %}
      {{ return(identifier) }}
    {% else %}
      {{ return('`' ~ identifier ~ '`') }}
    {% endif %}
{% endmacro %}

@cdiniz
Copy link
Collaborator

cdiniz commented Apr 17, 2024

@man40 We opened a PR with this. thanks! we don't support Databricks officially and we don't have the infrastructure ready to test it. If you can feedback on your databricks experience would be great to understand what we need to do in future if we decide to officially support it. thanks

@cdiniz cdiniz closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants