-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataFrame LoadSql Method #5662
Comments
I'm assuming this will take in a raw SQL query as an argument to |
A thing we need to be conscious about is that the dependencies of the core I definitely see the value in an easy API to load a DataFrame from SQL, but I don't believe it is "core" to the library. For example, So I would see something like this as an extension to the |
Hi. I see that the code had been written for this, is there a design conflict or just the unit test that's is missing to merge this to main? |
It looks like it is blocked on adding tests. |
@eerhardt thanks. How extensive the test have to be? I got it running on my computer and have use it with Sqlite, I try and help so it can be merge on the main. |
The tests should exercise the main functionality to ensure it works, and doesn't get broken in the future.
That would be great! |
👍🏾 will try and give a shot then |
I was playing around with the DataFrame library to start to build a SQL reconciliation tool, and I noticed that there is no easy way to go from SQL query to DataFrame.
I have some code for that can create the DataFrame from a
SqlDataReader
, but we may want an easier to use API than that.One idea is to follow the convention used for the
LoadCsv
function and make something similar to the pandas function read_sql.I am happy to put a PR together depending on the approach chosen.
The text was updated successfully, but these errors were encountered: