Afiq Johari
03/10/2025, 6:48 AM"Dataset 'output' has an invalid type 'pandas.SQLQueryDataset'. "Unable to find credentials 'my_cred': check your data catalog and credentials configuration. See <https://kedro.readthedocs.io/en/stable/kedro.io.DataCatalog.html> for an example."Kedro LSP"
I've also defined "kedro.environment": "local"
in settings.json
Note that, the error only appears when I enable the extension, and no error when I disable the extension, and the pipelines work just fine.Hall
03/10/2025, 6:48 AMMerel
03/10/2025, 7:58 AMdatajoely
03/10/2025, 9:42 AMmy_cred
in locals/credentias.yml
?Sajid Alam
03/10/2025, 10:03 AMDataCatalog
instance, not sure exactly where it is going wrong, maybe the way the credentials is used. Would be great to see your catalog for more context.Afiq Johari
03/10/2025, 10:58 AMSQLQueryDataset
datasets, and unable to find credentials.
# below catalog.yml in conf\base
output:
type: pandas.SQLQueryDataset
sql: "
SELECT *
FROM [NB].[prd].[Output]
"
credentials: my_cred
# below credentials.yml in conf\local
my_cred:
con: "mssql+pyodbc:///?odbc_connect=DRIVER={ODBC Driver 17 for SQL Server};SERVER=mydb.database.windows.net;PORT=1234;UID=uid;PWD=pwd"
Sajid Alam
03/10/2025, 11:14 AMkedro --version
?Afiq Johari
03/10/2025, 11:15 AMAfiq Johari
03/10/2025, 11:18 AMcatalog.yml
related to the SQLQueryDataset and credentialsSajid Alam
03/10/2025, 11:20 AMSajid Alam
03/10/2025, 11:29 AMAfiq Johari
03/10/2025, 11:55 AM