Open mattew opened 4 years ago
Hello,
did you find a solution for this ? @mattew
Regards
Hi,
In the end we ran another solution and not using Beam/Dataflow...
But as I wrote, when updated the load_table
function and added the schema as "public" in the ReadFromDB
function it worked. I didn't look at the write functions.
//Mattias
Is this planned for release any time ?
Hi,
I'm trying to read data from a table in a different schema than public but I get the error message that the table can't be found. I've tried to use the schema name both as the table name and in the query but to no success. I think it could be quite good to include the possibility to use different schemas, not only the default one. So I did research.. :)
I read that SQLAlchemy accepts the schema name and after some digging I found that i could supply it in the
load_table
function inrelational_db_api.py
. After I added it (see below) and also added it in all the calling places it seemed to work:I set the default value to
public
(in theReadFromDB
function) but I'm not sure if that will only work for Postgres. And I didn't look at the write functions at all...//Mattias