Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow clients that lack absl to built and use the library #87

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Enmk
Copy link
Collaborator

@Enmk Enmk commented Apr 16, 2021

Moved Int128 definition to a separate header
Added few extra methods to ColumnDecimal that do not rely on Int128
Ensured that client programs can be built without absl headers present.

closes: #86

Moved Int128 definition to a separate header
Added few extra methods to ColumnDecimal that do not rely on Int128
Ensured that client programs can be built without absl headers present.
@Enmk Enmk requested a review from traceon April 16, 2021 09:58
@Enmk Enmk force-pushed the fix_no_absl_int128_builds branch from b6babe9 to e2e0ef5 Compare April 16, 2021 21:12
Copy link
Collaborator

@traceon traceon left a comment

Choose a reason for hiding this comment

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

Some comments inline.

Comment on lines +9 to +13
namespace absl
{
class int128;
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't it better to move all Int128 specific code and support into clickhouse/types/int128.h so that when user doesn't include that header he can't even refer to any type related/implemented via Int128?

@CLAassistant
Copy link

CLAassistant commented Sep 28, 2021

CLA assistant check
All committers have signed the CLA.

@Enmk Enmk added the 3.0 Features planned for 3.0 label Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 Features planned for 3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

relative import error
3 participants