Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:

- name: Start Metabase
run: |
docker pull metabase/metabase-enterprise-head@sha256:b9f65f48f7121602cc37732ffeab4a4afdcbf7d945e49bed25d40264a95b18c8
docker run -d --name metabase \
-e MB_PREMIUM_EMBEDDING_TOKEN=${{ secrets.MB_PREMIUM_EMBEDDING_TOKEN }} \
-p 3000:3000 \
metabase/metabase-enterprise:latest
metabase/metabase-enterprise-head@sha256:b9f65f48f7121602cc37732ffeab4a4afdcbf7d945e49bed25d40264a95b18c8

echo "Waiting for Metabase to start..."
timeout 180 bash -c '
Expand Down
Empty file modified bin/cli.js
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions core-spec/v1/schemas/card.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ properties:
- "null"
description: Database FK (database name), should match database in dataset_query
dataset_query:
description: Query definition (MBQL or native)
description: Query definition in pMBQL format
$ref: "common/query.yaml"
visualization_settings:
type: object
Expand Down Expand Up @@ -117,12 +117,12 @@ properties:
if: { type: string }
then: { $ref: "common/id.yaml#/$defs/entity_id" }
table_id:
description: Table FK, should match source-table in query
description: Table FK, should match source-table in the first stage
type: [array, "null"]
if: { type: array }
then: { $ref: "common/id.yaml#/$defs/table_id" }
source_card_id:
description: Source card FK
description: Source card FK, should match source-card in the first stage
type: [string, "null"]
if: { type: string }
then: { $ref: "common/id.yaml#/$defs/entity_id" }
Expand Down
10 changes: 4 additions & 6 deletions core-spec/v1/schemas/common/parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ properties:
$defs:
parameter_target:
description: >
Parameter target for dashboard parameter mappings.
For MBQL columns: [dimension, ref] where ref is a field, expression, or aggregation ref.
For native dimension tags: [dimension, [template-tag, tag_name]].
For native variable tags: [variable, [template-tag, tag_name]].
Parameter target for dashboard parameter mappings. Uses legacy
MBQL format: [field, Field-FK, null-or-options].
type: array
minItems: 2
allOf:
Expand All @@ -112,9 +110,9 @@ $defs:
minItems: 2
allOf:
- if: { prefixItems: [{ const: field }] }
then: { $ref: "ref.yaml#/$defs/field_ref" }
then: { $ref: "ref.yaml#/$defs/legacy_field_ref" }
- if: { prefixItems: [{ const: expression }] }
then: { $ref: "ref.yaml#/$defs/expression_ref" }
then: { $ref: "ref.yaml#/$defs/legacy_expression_ref" }
- if: { prefixItems: [{ const: template-tag }] }
then:
prefixItems: [{ const: template-tag }, { type: string }]
Expand Down
Loading
Loading