Releases: discover-labs/dictum-core
Releases · discover-labs/dictum-core
dictum-core 0.1.15
dictum-core 0.1.14
Fix introspection bug that broke case when
expressions
dictum-core 0.1.13
Bump pydantic
dictum-core 0.1.12
Refactoring and cleanup
- Remove viz functionality
- Bump faulty pyyaml version
- Bump many other dependencies
dictum-core 0.1.11
Features
- Added support for
count(*)
in expressions. Produces the same result ascount()
. - 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 atimeUnit
field, which is not supported by these channels (onlyfield
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
- Introduce backend secrets
- Interactive modeling using Jupyter magics
dictum-core 0.1.9
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 adate
type
dictum-core 0.1.8
Features
- Display a graph showing expression lineage for metrics, up to individual columns
dictum-core 0.1.7
- Support
dow
date part
dictum-core 0.1.6
- Fix incorrect handling of
format: percent
- Test division semantics (
1 / 2 == 0.5
)