1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-06-14 23:44:59 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
51c9cc65ba feat: union expr 2023-08-23 16:18:44 +03:00
5cd79b48c3 chore: rename WithQuery to Apply 2023-03-29 15:22:39 +03:00
59dcbc03a4 feat: add Prewhere 2023-03-29 15:17:19 +03:00
0f4c06861f fix: move FINAL modifier to the right place (#52)
The documentation (http://devdoc.net/database/ClickhouseDocs_19.4.1.3-docs/query_language/select/)
says FINAL has to be placed right after the table name, before SAMPLE:
  SELECT [DISTINCT] expr_list
    [FROM [db.]table | (subquery) | table_function] [FINAL]
    [SAMPLE sample_coeff]

At the moment it's appended to the end of the query which results in
invalid queries being generated when there are WHERE, ORDER BY or any
other clauses used.
2022-11-23 13:03:58 +02:00
b73c8fabf8 feat: add queries to create/drop views 2022-11-03 11:58:19 +02:00
79fddecbb5 chore: better WhereGroup 2022-11-01 15:22:10 +02:00
988091e532 feat(chmigrate): add WithReplicated option 2022-07-02 14:39:22 +03:00
658ad14fc0 feat: add proper Rows implementation and some optimizations 2022-04-30 14:56:46 +03:00
092a2dbf28 feat: initial commit 2022-03-21 08:58:25 +02:00