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

Backticks being generated in querys when using MySQL backend #849

Closed
mrbungie opened this issue Jul 29, 2016 · 3 comments
Closed

Backticks being generated in querys when using MySQL backend #849

mrbungie opened this issue Jul 29, 2016 · 3 comments
Labels
!deprecated-label:bug Deprecated label - Use #bug instead

Comments

@mrbungie
Copy link

I'm currently using Caravel and querying a Teradata MPP database, but I'm having trouble because Caravel is putting backticks and they're not supported by Teradata SQL.

It's strange because it only happens if I use MySQL as Caravel's backend. Using sqlite shows no problems.

To reproduce:

  1. Caravel 0.10
  2. Use MySQL as Caravel's backend.
  3. Add and query a database that doesn't support backticks.
@mrbungie mrbungie changed the title Backticks being generated over Backticks being generated using MySQL backend Jul 29, 2016
@mrbungie mrbungie changed the title Backticks being generated using MySQL backend Backticks being generated in querys when using MySQL backend Jul 29, 2016
@mistercrunch
Copy link
Member

What does your SqlAlchemy connection string to Teradata look like? Which SqlAlchemy dialect/connector are you using?

@mrbungie
Copy link
Author

mrbungie commented Jul 30, 2016

My connection string is teradata://user:password@dbhost/ . The dialect I'm using is a modified version of Teradata's SqlAlchemy with more methods implemented (https://github.com/mrbungie/sqlalchemy-teradata/tree/feature/dialect_get_columns) and with some fixes regarding schemas.

I explored the dialect looking for something and found nothing. But like I said, it's weird because it only happens with MySQL as Caravel's backend.

More info:
Original dialect: https://github.com/Teradata/sqlalchemy-teradata
https://developer.teradata.com/tools/articles/teradata-sqlalchemy-introduction

@xrmx xrmx added !deprecated-label:bug Deprecated label - Use #bug instead bug_external labels Aug 9, 2016
@mistercrunch
Copy link
Member

Notice: this issue has been closed because it has been inactive for 622 days. Feel free to comment and request for this issue to be reopened.

zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead
Projects
None yet
Development

No branches or pull requests

3 participants