Skip to content

Releases: discover-labs/dictum-core

dictum-core 0.1.15

15 Nov 18:22
29d971a
Compare
Choose a tag to compare

Fix incorrect handling of case statement in sqla compiler

dictum-core 0.1.14

15 Nov 17:41
80327a7
Compare
Choose a tag to compare

Fix introspection bug that broke case when expressions

dictum-core 0.1.13

12 Nov 12:51
d243210
Compare
Choose a tag to compare

Bump pydantic

dictum-core 0.1.12

03 Nov 21:45
Compare
Choose a tag to compare

Refactoring and cleanup

  • Remove viz functionality
  • Bump faulty pyyaml version
  • Bump many other dependencies

dictum-core 0.1.11

23 Nov 12:09
558fdeb
Compare
Choose a tag to compare

Features

  • Added support for count(*) in expressions. Produces the same result as count().
  • Added explicit checks for
    • Query before execution: checks for structural integrity, non-existing calculations/transforms, transform argument types etc.
    • Model just after parsing: checks for structural integrity, that fields like time don't reference non-existing calculations, that related tables' related_key is set up correctly
    • Model after the actual model instantiation: checks for referenced calculations — which calculations are allowed where, circular refs
  • Added sensible custom exceptions for the checks
  • Added nicer syntax errors for expressions and shorthand definitions
  • Changed the syntax for custom properties in shorthand definitions, now it requires { }:
    %metric invoice_items.revenue = sum(Quantity * UnitPrice) { format=currency }

Bug fixes

  • Fixed field generation for x2, y2 Altair encoding channels. Before the fix, the integration tried to generate a timeUnit field, which is not supported by these channels (only field is supported)
  • Fixed derivative measures not respecting filters on child measures. Now measures are only allowed to reference non-filtered measures. Filtered measures are allowed in metrics.

dictum-core 0.1.10

18 Nov 16:50
1c6462e
Compare
Choose a tag to compare
  • Introduce backend secrets
  • Interactive modeling using Jupyter magics

dictum-core 0.1.9

06 Sep 14:31
420243a
Compare
Choose a tag to compare

What's Changed

  • type system is refactored
  • dictum catalog command now generates metric catalog's JSON representation
  • metrics are now aware of their time dimensions' grain: e.g. Minute is not available for a dimension that has a date type

dictum-core 0.1.8

01 Sep 19:29
509e4aa
Compare
Choose a tag to compare

Features

  • Display a graph showing expression lineage for metrics, up to individual columns

dictum-core 0.1.7

11 Aug 08:38
0fbe0bb
Compare
Choose a tag to compare
  • Support dow date part

dictum-core 0.1.6

10 Aug 21:03
Compare
Choose a tag to compare
  • Fix incorrect handling of format: percent
  • Test division semantics (1 / 2 == 0.5)