superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-superset] dpgaspar edited a comment on pull request #9752: fix(mssql): CAST with AT produces statements with syntax errors
Date Thu, 07 May 2020 17:39:52 GMT

dpgaspar edited a comment on pull request #9752:

   @bkyryliuk we have a simple query construction here:
and it's being used for MSSQL. Is something similar with what you're looking for?
   @mistercrunch also mentioned that using a `WRAP_SQL` is inefficient on some engines.
   My plan is, if feasible/simple change `WRAP_SQL` to something like `FORCE_TOP` and doing
the best to identify non aliased functions and warn the user about it. This last one could
be tricky for statements like: `SELECT COL1, COL1, CAST(COL3 AS DATETIME) AT TIME ZONE "SOME_TZ",
COL4` `sqlparse` get seems to get lost on `AT` and does not identify `COL4` has a column.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message