Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clickhouse/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct ClientOptions {
* @see LowCardinalitySerializationAdaptor, CreateColumnByType
*/
[[deprecated("Makes implementation of LC(X) harder and code uglier. Will be removed in next major release (3.0) ")]]
DECLARE_FIELD(backward_compatibility_lowcardinality_as_wrapped_column, bool, SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn, true);
DECLARE_FIELD(backward_compatibility_lowcardinality_as_wrapped_column, bool, SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn, false);

/** Set max size data to compress if compression enabled.
*
Expand Down
7 changes: 4 additions & 3 deletions ut/low_cardinality_nullable_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ TEST(LowCardinalityOfNullable, InsertAndQueryEmpty) {
block.AppendColumn("words", column);

Client client(ClientOptions(localHostEndpoint)
.SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn(false)
.SetPingBeforeQuery(true));
.SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn(false)
.SetPingBeforeQuery(true));

createTable(client);

Expand All @@ -141,7 +141,8 @@ TEST(LowCardinalityOfNullable, ThrowOnBackwardsCompatibleLCColumn) {
block.AppendColumn("words", column);

Client client(ClientOptions(localHostEndpoint)
.SetPingBeforeQuery(true));
.SetPingBeforeQuery(true)
.SetBakcwardCompatibilityFeatureLowCardinalityAsWrappedColumn(true));

createTable(client);

Expand Down