File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
ydb/library/yql/providers/yt Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ class TYtFileGateway : public IYtGateway {
453
453
auto pos = options.Pos ();
454
454
try {
455
455
TSession* session = GetSession (options);
456
-
456
+
457
457
TSet<TString> uniqueTables;
458
458
const auto fullPrefix = options.Prefix ().Empty () ? TString () : (options.Prefix () + ' /' );
459
459
const auto fullSuffix = options.Suffix ().Empty () ? TString () : (' /' + options.Suffix ());
@@ -776,7 +776,7 @@ class TYtFileGateway : public IYtGateway {
776
776
writer.SetSpecs (spec);
777
777
778
778
TStringStream err;
779
- auto type = BuildType (*tableInfo.RowSpec ->GetType ( ), typeBuilder, err);
779
+ auto type = BuildType (*tableInfo.RowSpec ->GetExtendedType (ctx ), typeBuilder, err);
780
780
TValuePacker packer (true , type);
781
781
for (auto & c: content) {
782
782
auto val = packer.Unpack (c, holderFactory);
Original file line number Diff line number Diff line change 13
13
#include < ydb/library/yql/providers/yt/provider/yql_yt_helpers.h>
14
14
#include < ydb/library/yql/providers/common/provider/yql_provider.h>
15
15
#include < ydb/library/yql/providers/common/transform/yql_exec.h>
16
+ #include < ydb/library/yql/providers/common/schema/expr/yql_expr_schema.h>
16
17
#include < ydb/library/yql/core/type_ann/type_ann_expr.h>
17
18
#include < ydb/library/yql/core/yql_execution.h>
18
19
#include < ydb/library/yql/core/yql_graph_transformer.h>
@@ -742,7 +743,7 @@ class TYtDataSinkExecTransformer : public TExecTransformerBase {
742
743
NYT::TNode spec;
743
744
rowSpec.FillCodecNode (spec[YqlRowSpecAttribute]);
744
745
outSpec = NYT::TNode::CreateMap ()(TString{YqlIOSpecTables}, NYT::TNode::CreateList ().Add (spec));
745
- type = rowSpec.GetTypeNode ( );
746
+ type = NCommon::TypeToYsonNode ( rowSpec.GetExtendedType (ctx) );
746
747
}
747
748
748
749
// These settings will be passed to YT peephole callback from DQ
You can’t perform that action at this time.
0 commit comments