Closed avadhanij closed 3 years ago
Yeah you are right, using the column spec to get the index dynamically is better. I'm open to the enhancement. I did not get around to fixing the other issues, but I have some queries to run on the current season so I will poke at these soon.
Hey, so I hope you don't mind that I am filing issues away, because I am going to be honest, there are quite a lot of them. I am slowly beginning to understand the code base.
It's been one issue after another, and I am yet to be able to load the database up with the given script.
Fixed by https://github.com/mpope9/nba-sql/pull/22 !
Looks like the format for the latest incoming data has changed. Here are the main changes -
This caused everything else to moved by one column. I am going to push a fix for this issue.
But imo, the current approach is not good. They are supplying column names with data anyway, so it's better to dynamically fill using that info? Let me know what you think, and I can file an enhancement. I don't mind working on it.