We have a Cognite Function in which we are retrieving rows from staging tables using below sdk command
client.raw.rows.retrieve_dataframe(db_name, tbl_name, limit=-1)The problem we are facing is the above command returns an empty Dataframe (0 columns, 0 rows) even though the table exists with data. The code execution does not fail but returns an empty Dataframe.
When I manually/locally run the above command on the same database and tables, I get the required data.
However, when running inside a CDF function it returns a Dataframe with shape (0,0)
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support




