Re: Observable Metrics on Spark Datasets

2021-03-19 Thread Enrico Minack
I'll sketch out a PR so we can talk code and move the discussion there. Am 18.03.21 um 14:55 schrieb Wenchen Fan: I think a listener-based API makes sense for streaming (since you need to keep watching the result), but may not be very reasonable for batch queries (you only get the result

Re: SessionCatalog lock issue

2021-03-19 Thread Chang Chen
Hi Wenchen Thanks for your suggestion, would you please review this PR( https://github.com/apache/spark/pull/31891) Thanks Chang Wenchen Fan 于2021年3月18日周四 下午9:47写道: > The `synchronized` is needed for getting `currentDb` IIUC. So a small > change is to only wrap >