Not all JDBC datasources support window functions. But JdbcProject is generated regardless of this fact. In the result we get SQL with window function which gives an error when the execution is pushed to the JDBC datasource. What is the best way to avoid such errors based on SQL dialect? Avoid converting to JdbcProject if some unsupported features are used?