Skip to content

Conversation

@MrLolthe1st
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 20, 2023

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 821a825.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59418 50239 0 14 9139 26

🔴 linux-x86_64-release-asan: some tests FAILED for commit 821a825.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15631 15480 0 23 98 30

arrow::Datum StringConverterImpl(NUdf::IArrayBuilder* builder, std::shared_ptr<arrow::ArrayData> block) {
if constexpr (!IsDictionary) {
typename ::arrow::TypeTraits<T>::ArrayType val(block); // checking for compatibility
if (val.null_count()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

почему тут нельзя просто написать return block;
зачем надо ребилдить?

TYtDqIntegration(TYtState* state)
TYtDqIntegration(TYtState* state, const NKikimr::NMiniKQL::IFunctionRegistry& functionRegistry)
: State_(state)
, ArrowResolver_(MakeSimpleArrowResolver(functionRegistry))
Copy link
Collaborator

Choose a reason for hiding this comment

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

не надо создавать arrow resolver, он есть в TypeCtx (в State_)

}

template <typename TTraits, typename T>
template <typename TTraits, typename T, NKikimr::NUdf::EDataSlot OriginalT>
Copy link
Collaborator

Choose a reason for hiding this comment

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

TOriginal

@MrLolthe1st MrLolthe1st requested review from nepal and vitstn December 25, 2023 11:50
#include "yql_yt_provider.h"

#include <ydb/library/yql/dq/integration/yql_dq_integration.h>
#include <ydb/library/yql/minikql/mkql_function_registry.h>
Copy link
Collaborator

Choose a reason for hiding this comment

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

unused

#include <ydb/library/yql/providers/common/dq/yql_dq_integration_impl.h>
#include <ydb/library/yql/providers/common/codec/yql_codec_type_flags.h>
#include <ydb/library/yql/providers/common/config/yql_dispatch.h>
#include <ydb/library/yql/providers/common/arrow_resolve/yql_simple_arrow_resolver.h>
Copy link
Collaborator

Choose a reason for hiding this comment

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

unused

ydb/library/yql/providers/common/mkql
ydb/library/yql/providers/common/proto
ydb/library/yql/providers/common/activation
ydb/library/yql/providers/common/arrow_resolve
Copy link
Collaborator

Choose a reason for hiding this comment

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

unused

@MrLolthe1st MrLolthe1st requested a review from vitstn December 25, 2023 11:53
subTypeAnn.emplace_back(type->GetItemType());
}

if (State_->Types->ArrowResolver->AreTypesSupported(ctx.GetPosition(node.Pos()), subTypeAnn, ctx) != IArrowResolver::EStatus::OK) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

if (!State_->Types->ArrowResolver) {
return false;
}

@MrLolthe1st MrLolthe1st merged commit eda727a into ydb-platform:main Dec 25, 2023
@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