On Wednesday, April 18, 2018 at 11:20:39 AM UTC-4, su-sa wrote: > > > But if I am not mistaken, the from clause of the query is generated by > SQLAlchemy and the database driver or the dialect has no influence on this > from clause generation of SQLAlchemy. >
As an aside from everything Simon is saying: SqlAlchemy generates the textual SQL provided to the DBAPI, but it is influenced-by or overridden-in the dialect. It sort of looks like this: [your code] -> [complied by sqlalchemy WITH AND FOR dialect] -> [dbapi] -> [database] -> [dbapi] -> [sqlalchemy turns into objects] -> [your code] I assume you are probably using this dialect: https://github.com/SAP/sqlalchemy-hana When there is an issue with a dialect in a certain situation * very often: the dialects are capable of generating the SQL for a certain situation, and they must fix it. * very rare: sqlalchemy doesn't offer the dialect appropriate hooks to accomplish something; the dialect maintainers propose a way to for SqlAlchemy to offer the needed functionality for their dialect to generate a specific query -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
