Melvin Kok
02/27/2024, 8:21 AMfilepath
? I am using spark.SparkJDBCDataSet
so the data location is specified using table
, not filepath
. I tried to use dataset factories and got this error:
File "/Users/user/.pyenv/versions/3.9.18/envs/env-name/lib/python3.9/site-packages/kedro/framework/cli/catalog.py", line 263, in resolve_patterns
str(context.project_path) + "/", ds_config["filepath"]
KeyError: 'filepath'
Example of what I'm trying to do:
raw.{table_name}:
<<: *spark_table
table: dbo.{table_name}
Ankita Katiyar
02/27/2024, 8:26 AMkedro catalog resolve
cli command, the fix for which will be out in Kedro 0.19.3 - but the resolution should work properly when you run the pipelines.Melvin Kok
02/27/2024, 8:28 AMMelvin Kok
02/27/2024, 8:33 AMcatalog.list()
in a notebook doesn't show the datasets too 😞Ankita Katiyar
02/27/2024, 8:34 AMAnkita Katiyar
02/27/2024, 8:35 AMcatalog.load()
for the dataset you should see it loaded properly and then catalog.list()
will have it in the listMelvin Kok
02/27/2024, 8:35 AM