stefano
01/10/2024, 10:53 AMWITH <table name> (<column list>)
), but ClickHouse doesn't support the column list. Is there a way to modify this behavior, either through the dialect definition or otherwise, so that the resulting query omits the list of column names?stefano
01/10/2024, 11:47 AMSelectStatementBuilder
cannot be overridden by the dialect. This is probably going to be a roadblock for the integration with ClickHousedave08
01/10/2024, 12:26 PMdave08
01/10/2024, 12:27 PMstefano
01/10/2024, 12:29 PMdave08
01/10/2024, 12:31 PMdave08
01/10/2024, 12:32 PMstefano
01/10/2024, 12:35 PMdave08
01/10/2024, 12:37 PMbuf.append(" (")
for (p in table.properties()) {
val columnName = p.getCanonicalColumnName(dialect::enquote)
buf.append(columnName)
buf.append(", ")
}
buf.cutBack(2)
buf.append(") as (")
dave08
01/10/2024, 12:37 PMstefano
01/10/2024, 12:39 PMdave08
01/10/2024, 12:46 PMwith
to surround your query with.Toshihiro Nakamura
01/10/2024, 1:15 PMstefano
01/10/2024, 1:44 PMdave08
01/10/2024, 1:48 PMwith
... of course, if there are too many differences, it's already not worth it to try, but if the syntax is mostly similar to a certain dialect with a few functions that are different, there's a lot to gain from all of Komapper's features.stefano
01/10/2024, 1:51 PMToshihiro Nakamura
01/10/2024, 2:08 PMstefano
01/10/2024, 2:09 PMstefano
01/11/2024, 8:01 PMstefano
01/11/2024, 8:48 PM