You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notes picked up from debugging with Kam on the CardZone.Dimensions merge query.
The merge query generated by the manifold generate produces an equality check on target.{vector} = source.dimensions, where the Dimensions table structures the vectors under a dimensions label. The equality check should be target.dimensions.{vector} = source.dimensions.{vector}
Does the dimensions.json generator support REPEATED fields, something like Cards.pageIds is a REPEATED field, can we specify that in the yaml file for table json generation?
The text was updated successfully, but these errors were encountered:
MERGE CardZone.Dimensions AS TARGET
USING (
SELECT
id,
STRUCT(
(SELECT AS STRUCT Cards.* EXCEPT (settings)) AS card
) AS dimensions
FROM Gradius.Cards
) AS source
ON source.id = target.id
WHEN MATCHED THEN UPDATE SET target.dimensions.card = source.dimensions.card
WHEN NOT MATCHED THEN INSERT ROW;
We'll need to configure dimensions merges at the workspace level for now (as implemented in #23). The vector-level approach will break down for intersections. Still, should be good for now! Thanks
Notes picked up from debugging with Kam on the CardZone.Dimensions merge query.
The merge query generated by the manifold generate produces an equality check on target.{vector} = source.dimensions, where the Dimensions table structures the vectors under a dimensions label. The equality check should be target.dimensions.{vector} = source.dimensions.{vector}
Does the dimensions.json generator support REPEATED fields, something like Cards.pageIds is a REPEATED field, can we specify that in the yaml file for table json generation?
The text was updated successfully, but these errors were encountered: