Skip to content

DSL major update - Breaking Changes

Pre-release
Pre-release
Compare
Choose a tag to compare
@erdebee erdebee released this 29 Oct 15:24
· 766 commits to master since this release

This introduces coverage for (almost) all clickhouse column functions, as well as most operators, and a new mechanism that introduces an advanced type safety check on columns, column functions and their results.

For the coverage of the DSL, please refer to the WIKI page 'DSL Coverage'.

The type-safety mechanism relies on the magnet pattern, using implicit conversion to interpret the type of any constant or DSL function, for continued use in the DSL there-after at compile time.

Breaking changes

  • Some existing functions now only accept the actual type
  • Most functions now correctly propagate/represent their return type. When you do not explicitly convert the type to what was expected onwards, this will cause compile errors. (use toTypeName(col), to explicitly convert columns in queries)
  • isIn, isNotIn were renamed to in and notIn
  • splitBy was renamed to splitByChar and splitByString