Skip to content

Commit 7d58ee9

Browse files
Improve BSL compatibility with current upstream syntax (#182)
* Improve BSL compatibility with current upstream syntax * Auto-update JSON schema * Address BSL PR review feedback * Preserve joined filters in BSL distinct totals * Preserve qualified BSL metric references * Scope reused BSL join aliases * Avoid default IDs for BSL cross joins --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 6adb1e0 commit 7d58ee9

12 files changed

Lines changed: 1733 additions & 244 deletions

File tree

sidemantic-schema.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@
11161116
"type": "object"
11171117
},
11181118
"Relationship": {
1119-
"description": "Represents a relationship between models.\n\nRelationship types:\n- many_to_one: This model has a foreign key to another\n- one_to_one: This model is referenced by another with unique constraint\n- one_to_many: This model is referenced by another\n- many_to_many: This model relates to another through a junction table",
1119+
"description": "Represents a relationship between models.\n\nRelationship types:\n- many_to_one: This model has a foreign key to another\n- one_to_one: This model is referenced by another with unique constraint\n- one_to_many: This model is referenced by another\n- many_to_many: This model relates to another through a junction table\n- cross: This model should be cross joined to another",
11201120
"properties": {
11211121
"foreign_key": {
11221122
"anyOf": [
@@ -1220,7 +1220,8 @@
12201220
"many_to_one",
12211221
"one_to_one",
12221222
"one_to_many",
1223-
"many_to_many"
1223+
"many_to_many",
1224+
"cross"
12241225
],
12251226
"title": "Type",
12261227
"type": "string"
@@ -2908,7 +2909,7 @@
29082909
"type": "object"
29092910
},
29102911
"Relationship": {
2911-
"description": "Represents a relationship between models.\n\nRelationship types:\n- many_to_one: This model has a foreign key to another\n- one_to_one: This model is referenced by another with unique constraint\n- one_to_many: This model is referenced by another\n- many_to_many: This model relates to another through a junction table",
2912+
"description": "Represents a relationship between models.\n\nRelationship types:\n- many_to_one: This model has a foreign key to another\n- one_to_one: This model is referenced by another with unique constraint\n- one_to_many: This model is referenced by another\n- many_to_many: This model relates to another through a junction table\n- cross: This model should be cross joined to another",
29122913
"properties": {
29132914
"foreign_key": {
29142915
"anyOf": [
@@ -3012,7 +3013,8 @@
30123013
"many_to_one",
30133014
"one_to_one",
30143015
"one_to_many",
3015-
"many_to_many"
3016+
"many_to_many",
3017+
"cross"
30163018
],
30173019
"title": "Type",
30183020
"type": "string"

0 commit comments

Comments
 (0)