'Module 'dlt' has no attribute 'table' - databricks and delta live tables

I am new to databricks and delta live tables. I have problem with creating delta live table in python.

enter image description here

enter image description here

enter image description here

How to create delta live table from json files in filestore?



Solution 1:[1]

Sandro’s answer should solve your problem. For ingesting json files with live tables, you can check this article for some use cases https://medium.com/@chaobioz/create-delta-live-tables-dlt-dynamically-with-pyspark-e06a718199c8

Also if for production, better use auto loader as well.

Solution 2:[2]

Could you try to install dlt before importing it?

%pip install dlt

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bi Chao
Solution 2 K1209