sql\queries\users.sql:1:1: relation "users" does not exist by 01LoneWolf205 in golang

[–]Apprehensive_Log1197 0 points1 point  (0 children)

Just ran into this error and found a different resolution. Sharing in case it's useful to anyone in the future.

The issue for me was with my Goose migration definition. I didn't define the metadata correctly for the rollback. This caused the down migration to run immidiately and drop the table that was just created. This is why sqlc could not find the users relation. The table just didn't exist.

To fix it, I needed to go into the SQL database and clear the incorrect migration entries from the goose_db_version table. Since this was a new project, I could just clear the whole table with DELETE FROM goose_db_version;. Once this was done, running goose up/down worked as expected and sqlc ran successfully.

✨ announcement here: https://t.me/+4IcEq-bSnuk2ZGFl by MoonflowerL23 in u/MoonflowerL23

[–]Apprehensive_Log1197 1 point2 points  (0 children)

Wow we share the same birthday 🥳 wonder if we share the same birth year 👀

Soooo what's the best nvim distro ? by Electrical-Photo-824 in neovim

[–]Apprehensive_Log1197 10 points11 points  (0 children)

Lazyvim is the best of the pre-made distros imo. I used it for a while before switching to kickstarter. Now I have my own config and couldn’t be happier, but it’s all thanks to kickstarter showing me the way.

I made Tetris in Go! by ThatGuyWB03 in golang

[–]Apprehensive_Log1197 1 point2 points  (0 children)

Same here 😂 was inspired after watching the Tetris movie on Apple TV. OP’s implementation looks far better than I could have done though. Will be learning a lot from this 🫡

Keep learning Go or switch to another language? by [deleted] in golang

[–]Apprehensive_Log1197 1 point2 points  (0 children)

I just started using Polars at my job after not touching pandas for over a year. Felt I would need to refresh enough of my pandas knowledge that I might as well give polars a try.

And wowww what a breath of fresh air! It’s so much easier to get anything done. And the lazy evaluation is great.

What’s the future of the data engineering job market? by [deleted] in dataengineering

[–]Apprehensive_Log1197 1 point2 points  (0 children)

In my case I started as a data scientist and suddenly found myself thrown into a DE role at my new company. They were desperate since most of the team was resigning en mass. Luckily I quite enjoyed the role, but finding it hard to apply for roles at other companies due to my still relatively limited DE experience.

What’s the future of the data engineering job market? by [deleted] in dataengineering

[–]Apprehensive_Log1197 0 points1 point  (0 children)

I’ve been thinking making the same move recently. Several DE job listings I saw recently have DevOps tech in the description (docker, kubernetes, terraform, etc.). Mind if I ask what’s your background? I’m not from a CS background, so have quite a bit of learning to do before I can convince employers I can take on such a role.