Commit 8b67801
feat(tesseract): Support calendar cubes and custom sql granularities (cube-js#9698)
* add support for calendar prop and sql in granularities in schema validator
* fix resolveGranularity() for calendar td granularities
* support granularities sql() in tesseract
* fix td symbol deps
* cargo fmt
* add tests for calendar cubes in schema compiler
* add calendar tests1 parent 4eecf01 commit 8b67801
File tree
19 files changed
+1282
-38
lines changed- packages/cubejs-schema-compiler
- src/compiler
- test
- integration/postgres
- unit
- __snapshots__
- fixtures
- rust/cubesqlplanner/cubesqlplanner/src
- cube_bridge
- planner
- sql_evaluator
- sql_nodes
- symbols
- time_dimension
19 files changed
+1282
-38
lines changedLines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
982 | 983 | | |
983 | 984 | | |
984 | 985 | | |
985 | | - | |
| 986 | + | |
| 987 | + | |
986 | 988 | | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
987 | 997 | | |
988 | 998 | | |
989 | 999 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
| |||
786 | 790 | | |
787 | 791 | | |
788 | 792 | | |
| 793 | + | |
789 | 794 | | |
790 | 795 | | |
791 | 796 | | |
| |||
0 commit comments