File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
ydb/library/yql/dq/actors Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ Ydb::StatusIds::StatusCode DqStatusToYdbStatus(NYql::NDqProto::StatusIds::Status
30
30
return Ydb::StatusIds::EXTERNAL_ERROR;
31
31
case NYql::NDqProto::StatusIds::SCHEME_ERROR:
32
32
return Ydb::StatusIds::SCHEME_ERROR;
33
+ case NYql::NDqProto::StatusIds::UNSUPPORTED:
34
+ return Ydb::StatusIds::UNSUPPORTED;
33
35
case NYql::NDqProto::StatusIds::GENERIC_ERROR:
34
36
default :
35
37
return Ydb::StatusIds::GENERIC_ERROR;
@@ -63,12 +65,13 @@ NYql::NDqProto::StatusIds::StatusCode YdbStatusToDqStatus(Ydb::StatusIds::Status
63
65
return NYql::NDqProto::StatusIds::CANCELLED;
64
66
case Ydb::StatusIds::SCHEME_ERROR:
65
67
return NYql::NDqProto::StatusIds::SCHEME_ERROR;
66
- case Ydb::StatusIds::GENERIC_ERROR :
67
- return NYql::NDqProto::StatusIds::GENERIC_ERROR ;
68
+ case Ydb::StatusIds::UNSUPPORTED :
69
+ return NYql::NDqProto::StatusIds::UNSUPPORTED ;
68
70
case Ydb::StatusIds::EXTERNAL_ERROR:
69
71
return NYql::NDqProto::StatusIds::EXTERNAL_ERROR;
72
+ case Ydb::StatusIds::GENERIC_ERROR:
70
73
default :
71
- return NYql::NDqProto::StatusIds::UNSPECIFIED ;
74
+ return NYql::NDqProto::StatusIds::GENERIC_ERROR ;
72
75
}
73
76
}
74
77
You can’t perform that action at this time.
0 commit comments