tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Add example of querying a database via pyodbc

Open rdmolony opened this issue 4 years ago • 5 comments

Hey there, I saw this mentioned in beginner/extensions and extensions/creator. I'll try figure this out and put together a brief example that could be slotted into either section

rdmolony avatar Oct 25 '21 14:10 rdmolony

Is it recommended to load from pyodbc to a file?

rdmolony avatar Oct 25 '21 14:10 rdmolony

You would use pyodbc to query and load in memory, not a file if that is what you are asking.

kvnkho avatar Oct 25 '21 18:10 kvnkho

It is yep! So for now larger than memory data won't be loadable this way? I'm trying to visualise DB -> Fugue -> BI tool

rdmolony avatar Oct 26 '21 07:10 rdmolony

Definitely not. You would need to pre-aggregate in some way or query and persist part by part I think. Or you would use the database service itself to output that file.

kvnkho avatar Oct 26 '21 20:10 kvnkho

great, thanks Kevin

rdmolony avatar Oct 26 '21 20:10 rdmolony