Strange issue. I am using the copyFromDB method successfully but when an exception occurs - maybe due to wrong query or any other ch side error I am unable to "catch" the actual exception in a regular try catch block.
As per the logs this is the exception type
ERROR Error on sendStreamSQL()
cc.blynk.clickhouse.except.ClickHouseUnknownException: ClickHouse exception
However if I try to catch that exception in a try catch it never gets caught !