zhaoyongjie commented on code in PR #19600:
URL: https://github.com/apache/superset/pull/19600#discussion_r845705862
##########
superset/db_engine_specs/netezza.py:
##########
@@ -31,7 +31,7 @@ class NetezzaEngineSpec(PostgresBaseEngineSpec):
"P1D": "DATE_TRUNC('day', {col})",
"P1W": "DATE_TRUNC('week', {col})",
"P1M": "DATE_TRUNC('month', {col})",
- "P3M": "DATE_TRUNC('quarter', {col})",
+ "P3M": "ADD_MONTHS(DATE_TRUNC('quarter', {col}), 1)",
Review Comment:
This is a breaking change, and I don't think a quarter plus 1 month is a
correct solution.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]