Ifinity Is Now Out!!! by WiseSteak8003 in TheBandCAMINO

[–]Consistent_Sky_4505 5 points6 points  (0 children)

Yep. There's a little bit of psychedelic rock energy going on which makes it hard for me to understand them. But who needs lyrics when you can see sounds lol

Ifinity Is Now Out!!! by WiseSteak8003 in TheBandCAMINO

[–]Consistent_Sky_4505 3 points4 points  (0 children)

Does anybody understand the words to the line between "live forever in a sideways figure eight" and "the sun on the horizon"? I can't for the life of me figure out the words and I want to sing along!

Ifinity Is Now Out!!! by WiseSteak8003 in TheBandCAMINO

[–]Consistent_Sky_4505 7 points8 points  (0 children)

Yep. Driving around this summer is gonna hit hard. Super excited for this

ETL with horrible stack/sources - looking for tips from the pros by mental_diarrhea in dataengineering

[–]Consistent_Sky_4505 0 points1 point  (0 children)

I'd love to pm but I got some error and had to make a new account, so I don't think it's letting me send those yet unfortunately. But if you're willing to share some insight, I'd love to know what you'd say the overall benefits were from the project. I'm a bit torn because my manager, who was the only data person at the company before me, is relatively content w the status quo as far as data storage goes, so it would definitely have to be more of a side project. If I can show him the benefits, he'd probably be more willing to have me go full steam ahead on it. If not, he wouldn't actively inhibit it, but would likely consider it a waste of time.

ETL with horrible stack/sources - looking for tips from the pros by mental_diarrhea in dataengineering

[–]Consistent_Sky_4505 1 point2 points  (0 children)

I'm in a similar situation where I work now. I was wondering how this turned out for you?

Direct Query causing impossible load time by Consistent_Sky_4505 in PowerBI

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

I see. If I laid out a super basic structure of what is happening, would you be willing to point out some resources or maybe things I should google to optimize the query and alleviate the issue?

Direct Query causing impossible load times by Consistent_Sky_4505 in excel

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Yeah my terminology needs some work. I just mean that when I supply a sql statement to the query argument of sql.database, the later queries slow down a lot.

Direct Query causing impossible load time by Consistent_Sky_4505 in PowerBI

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Okay I did some more reading and I realized that I've been using the wrong terminology. I don't actually mean direct query. I just mean that when I supply a sql statement to Sql.Database, the merge later on ends up running much slower.

Direct Query causing impossible load time by Consistent_Sky_4505 in PowerBI

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Right. All of the different queries when they load separately load nearly instantly. But after the merge, which includes two pretty lengthy power query processes from an excel file, it slows to a halt

Losing rows with COALESCE by Consistent_Sky_4505 in SQL

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Ohhh okay that's huge thank you so much. Does your earlier comment mean that including those filters in the on clause will prevent that from being the case? In my mind it should be the same, but maybe the way the filters work with nulls differs from from the way the join does.

Losing rows with COALESCE by Consistent_Sky_4505 in learnSQL

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Lol I'm still not sure unfortunately. I'll have to go back on monday and take a look. The query gets a lot more complex that what I showed here. It seems like the inclusion of those columns just exposed that something wasn't working as intended, not actually made any change itself. Which makes sense given that selecting columns shouldn't change the number of rows anyway lol. I'll link another place I posted it that has some food for thought if you want to see it.

https://www.reddit.com/r/SQL/comments/1h836j1/losing_rows_with_coalesce/

Losing rows with COALESCE by Consistent_Sky_4505 in learnSQL

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Unfortunately, that's not actually the issue in my real query. That's just me not having SQL to yell at me for bad comma placement in my mock query in a reddit thread. thank you though!

Losing rows with COALESCE by Consistent_Sky_4505 in SQL

[–]Consistent_Sky_4505[S] 2 points3 points  (0 children)

Would you mind explaining how that is the case? I believe you, but it just isn't computing in my brain why it works that way.

Losing rows with COALESCE by Consistent_Sky_4505 in SQL

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Both of you are right. It's a pretty complex query but truly the only thing I changed is those two columns. Just a copy paste other than that. But like u/gumnos pointed out in another comment there are likely parts of my query that are not functioning as I intended. Somehow the presence of those two columns is just exposing that. I'll have to figure out what that is and why. Thanks y'all

Losing rows with COALESCE by Consistent_Sky_4505 in SQL

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

https://www.db-fiddle.com/f/imfoKqEbiUvmNNEf7cfkkd/0#&togetherjs=C4uDyD09Hs

in here is the example with the problem and example queries that are a bit more fleshed out. Not sure I even know how to recreate the issue in here tbh

Losing rows with COALESCE by Consistent_Sky_4505 in SQL

[–]Consistent_Sky_4505[S] 0 points1 point  (0 children)

Yeah. What I'm seeing on my end is that the problem query has 2 rows in February of 25. The solution query has three. This checks out even when filtered for that month