Skip to content

Check types for pushdown on OLAP level. #1144

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

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

Tony-Romanov
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jan 19, 2024

2024-01-19 10:34:12 UTC Pre-commit check for a8e14a9 has started.
2024-01-19 10:34:15 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-01-19 10:36:17 UTC Build successful.
2024-01-19 10:36:30 UTC Tests are running...
🔴 2024-01-19 10:46:33 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59998 50761 0 2 9227 8

Copy link

github-actions bot commented Jan 19, 2024

2024-01-19 10:34:14 UTC Pre-commit check for a8e14a9 has started.
2024-01-19 10:34:17 UTC Build linux-x86_64-release-asan is running...
🟢 2024-01-19 10:36:21 UTC Build successful.
2024-01-19 10:36:34 UTC Tests are running...
🔴 2024-01-19 10:42:30 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15895 15811 0 17 59 8

@Tony-Romanov Tony-Romanov marked this pull request as ready for review January 19, 2024 10:56
Copy link
Contributor

@Darych Darych left a comment

Choose a reason for hiding this comment

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

LGTM. Let's wait for Vasiliy.

@Tony-Romanov Tony-Romanov merged commit de0a267 into ydb-platform:main Jan 23, 2024
@Tony-Romanov Tony-Romanov deleted the fix_comparators_in_olap branch January 23, 2024 18:11
case ETypeAnnotationKind::Data: {
const auto fOne = NUdf::GetDataTypeInfo(rawOne.Cast<TDataExprType>()->GetSlot()).Features;
const auto fTwo = NUdf::GetDataTypeInfo(rawTwo.Cast<TDataExprType>()->GetSlot()).Features;
return ((NUdf::EDataTypeFeatures::NumericType | NUdf::EDataTypeFeatures::StringType) & fOne) && (NUdf::EDataTypeFeatures::CanCompare & fOne)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here are two spaces before &

const auto fOne = NUdf::GetDataTypeInfo(rawOne.Cast<TDataExprType>()->GetSlot()).Features;
const auto fTwo = NUdf::GetDataTypeInfo(rawTwo.Cast<TDataExprType>()->GetSlot()).Features;
return ((NUdf::EDataTypeFeatures::NumericType | NUdf::EDataTypeFeatures::StringType) & fOne) && (NUdf::EDataTypeFeatures::CanCompare & fOne)
&& ((NUdf::EDataTypeFeatures::NumericType | NUdf::EDataTypeFeatures::StringType) & fTwo) && (NUdf::EDataTypeFeatures::CanCompare & fTwo);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here are two spaces before &

@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
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.

3 participants