What is the difference between the create_table and create_streaming_table functions in dlt?
For example, this is how I have created a table that streams data from kafka written as json files to a volume.
@Dlt.table(
name="raw_orders",
table_properties={"quality": "bronze", "pipelines.reset.allowed": "false"},
temporary=False,
)
def create_table():
query = (
spark.readStream.format("cloudFiles")
...
But I see this in the documentation a lot and don't really understand when to use each.
dlt.create_streaming_table("raw_orders")