public TableSchema getTableSchemaFromQuery(String sql, Map<String, Object> params) {
        final String describeQuery = "DESC (" + sql + ") FORMAT " + ClickHouseFormat.TSKV.name();
        return getTableSchemaImpl(describeQuery, null, sql, getDefaultDatabase(), params);
    }
<p>Creates table schema from a query.</p>
@param sql - SQL query which schema to return
@return table schema for the query
client-v2/src/main/java/com/clickhouse/client/api/Client.java