Skip to content

Add ORCBlockOutputFormat#11662

Merged
nikitamikhaylov merged 21 commits intoClickHouse:masterfrom
Avogar:orc_output_format
Jul 6, 2020
Merged

Add ORCBlockOutputFormat#11662
nikitamikhaylov merged 21 commits intoClickHouse:masterfrom
Avogar:orc_output_format

Conversation

@Avogar
Copy link
Member

@Avogar Avogar commented Jun 14, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add ORCBlockOutputFormat

Detailed description / Documentation draft:

ORC output format

This output format writes data in orc format.

@blinkov blinkov added doc-alert pr-feature Pull request with new product feature labels Jun 14, 2020
@Avogar
Copy link
Member Author

Avogar commented Jun 14, 2020

I forgot to add include path in cmake, I'l add it later

@nikitamikhaylov nikitamikhaylov self-assigned this Jun 15, 2020
Copy link
Member

@nikitamikhaylov nikitamikhaylov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please write more comments and add performance test (just include ORC format into existing tests of formats).

number_orc_column->notNull[i] = 0;
continue;
}
if constexpr (std::is_same<NumberType, UInt8>::value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is dirty hack :) Please write comment about this special case.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


target_include_directories (clickhouse_common_io SYSTEM BEFORE PUBLIC ${MSGPACK_INCLUDE_DIR})

target_include_directories (clickhouse_common_io SYSTEM BEFORE PUBLIC ${ORC_INCLUDE_DIR})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe better to write it under if (USE_ORC) statement?

}

template <typename ColumnType, typename GetSecondsFunc, typename GetNanosecondsFunc>
void ORCBlockOutputFormat::ORCBlockOutputFormat::writeDateTimes(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double ORCBlockOutputFormat::ORCBlockOutputFormat ?

@Avogar
Copy link
Member Author

Avogar commented Jun 28, 2020

@nikitamikhaylov can you help? I can't understand what is wrong with Functional stateless tests (unbundled) and Performance test. They don't see ORC output format.

@nikitamikhaylov
Copy link
Member

@nikitamikhaylov can you help? I can't understand what is wrong with Functional stateless tests (unbundled) and Performance test. They don't see ORC output format.

I will help, of course. But there is another strange error with clang-tidy build... Which I don’t know how to fix.

@nikitamikhaylov
Copy link
Member

Tests 01308_orc_output_format_arrays and 01307_orc_output_format are now disabled for unbundled build. Because tests for orc input format are already disabled.

@robot-clickhouse robot-clickhouse added the submodule changed At least one submodule changed in this PR. label Jul 6, 2020
@nikitamikhaylov
Copy link
Member

Build failure is caused by internal CI problem.

@nikitamikhaylov nikitamikhaylov merged commit 53522c7 into ClickHouse:master Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature Pull request with new product feature submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants