Hi all, I've suddenly encountered an issue, pleas...
# troubleshoot
p
Hi all, I've suddenly encountered an issue, please help. Datahub version 0.8.43 is in use. It is running in Google Cloud Kubernetes environment. (Installed by https://datahubproject.io/docs/deploy/kubernetes) Ingestion was created in web ui and even registered as a schedule, so it was being used well until recently. However, since last week the error has occurred. There is no change in config in yml etc. It seems that the error is occurring since kubernetes automatically restarts pods. Looking at the error log, it is caused by calling the non-existent function
is_keyword
in the sqlparse package. In Datahub version 0.8.43, sqlparse 0.4.2 is specified in requirements, and the
is_keyword
function exists in that version. However, the log shows that sqlparse 0.4.4 is being used, and the error is occurring because there is no function called is_keryword in that version. Please guide me on how to solve it.
l
Hey there 👋 I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: 1️⃣ There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? Yes button ✅ It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? ✅ button
f
you could try to pin also
sqlfluff==2.0.3
Based on: https://github.com/reata/sqllineage/pull/360
p
Thanks you @few-air-34037 I don't build the image myself I installed datahub with the chart file as per the guide in the link below. https://datahubproject.io/docs/deploy/kubernetes/ So, i don't know how to solve the way you guided me. Need to access the pod directly and edit a specific file? I have access to all pods, but I don't know which directory to touch the files in. Or do I have to edit the source and build it myself? You gave an answer, but I'm sorry I didn't understand it properly. Any help please? (Hurdle is good too)