Stanley Yang
06/09/2022, 9:19 PMEncountered an error while running operation: Runtime Error
Pickling client objects is explicitly not supported.
Clients have non-trivial state that is local and unpickleable.
This forces them to fallback to running the dbt CLI instead.
Is there way to disable this hardcoded --log-format json
and see the full error stack?owen
06/10/2022, 3:57 PMowen
06/10/2022, 4:02 PMStanley Yang
06/10/2022, 8:43 PM{
"code": "Q001",
"data": {
"exc": "Runtime Error\n Pickling client objects is explicitly not supported.\n Clients have non-trivial state that is local and unpickleable."
},
"invocation_id": "c0d51ae7-a863-4283-84ec-a3bbc8a39804",
"level": "error",
"log_version": 1,
"msg": "Encountered an error while running operation: Runtime Error\n Pickling client objects is explicitly not supported.\n Clients have non-trivial state that is local and unpickleable.",
"node_info": {},
"pid": 381,
"thread_name": "MainThread",
"ts": "2022-05-25T14:54:21.302904Z",
"type": "log_line"
}
Stanley Yang
06/10/2022, 8:43 PMowen
06/10/2022, 8:46 PMStanley Yang
06/15/2022, 5:08 PM--log-format json
, or replace with --log-format default
, it returns the correct error.owen
06/15/2022, 5:09 PMowen
06/15/2022, 5:12 PMStanley Yang
06/15/2022, 5:21 PMClients have non-trivial state that is local and unpickleable.
When the log-json bit is removed, the output is:
19:48:43 1 of 1 ERROR creating table model mydataset.my_table................. [ERROR in 0.29s]
19:48:43
19:48:43 Finished running 1 table model, 2 hooks in 1.79s.
19:48:43
19:48:43 Completed with 1 error and 0 warnings:
19:48:43
19:48:43 Runtime Error in model my_table (models/my_table.sql)
19:48:43 404 Not found: Table myproject:mydataset.some_required_table was not found in location US
owen
06/15/2022, 5:22 PMStanley Yang
06/15/2022, 5:22 PMowen
06/15/2022, 5:25 PMStanley Yang
06/16/2022, 2:22 PM