Skip to content

Conversation

@zhicwu
Copy link
Contributor

@zhicwu zhicwu commented Apr 22, 2021

try (ClickHouseStatementImpl s = (ClickHouseStatementImpl) connection.createStatement()) {
    ClickHouseRowBinaryInputStream input = s.executeQueryClickhouseRowBinaryStream("select * from my_table");
    List<ClickHouseColumnInfo> columns = input.getColumns();
    ...
}

@zhicwu zhicwu linked an issue Apr 22, 2021 that may be closed by this pull request
@github-actions
Copy link

Benchmark                           (client)  (statement)   Mode  Cnt     Score     Error  Units
Basic.insertOneRandomNumber  clickhouse-jdbc       normal  thrpt   20   271.559 ±  34.966  ops/s
Basic.insertOneRandomNumber  clickhouse-jdbc     prepared  thrpt   20   252.321 ±  26.338  ops/s
Basic.selectOneRandomNumber  clickhouse-jdbc       normal  thrpt   20  1175.200 ± 187.916  ops/s
Basic.selectOneRandomNumber  clickhouse-jdbc     prepared  thrpt   20  1199.498 ± 185.259  ops/s

@zhicwu zhicwu merged commit b89e023 into ClickHouse:develop Apr 22, 2021
@zhicwu zhicwu deleted the binary-format branch April 22, 2021 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support RowBinaryWithNamesAndTypes format

1 participant