microsoft / semantic-link-labs

Early access to new features for Microsoft Fabric's Semantic Link.
MIT License
178 stars 37 forks source link

Migration to Direct Lake ValueError in Function migration.refresh_calc_tables #201

Open TK-Fab opened 1 month ago

TK-Fab commented 1 month ago

** We are running the 'Migration to Direct Lake' Notebook against our old datasets and semantics model (import/DQ). The notebook process is super easy to follow and we got resolved a lot of our legacy data issues to ensure it is supported by Direct Lake Semantic Model. However we got stuck at line 40 after invoke migration.refresh_calc_tables(dataset = new_dataset_name, workspace = new_dataset_workspace_name) when Python give us a ValueError inside the functions line 126.

Please help...please help Thanks Trang

Image Image

m-kovalsky commented 1 month ago

Hmm, the error message is not particularly useful. If you run the same refresh_semantic_model function in a different cell does it give you the same error message? Sometimes the service needs a bit of a pause to determine the new model exists before it can call the refresh. You should also make sure that the entity names in the partitions align with the lakehouse. If any do not align, the refresh will fail.

TK-Fab commented 1 month ago

Thank you so much for your response. We will check and also we will put in a pause and check. Truly appreciate. Trang