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
3030 return Ydb::StatusIds::EXTERNAL_ERROR;
3131 case NYql::NDqProto::StatusIds::SCHEME_ERROR:
3232 return Ydb::StatusIds::SCHEME_ERROR;
33+ case NYql::NDqProto::StatusIds::UNSUPPORTED:
34+ return Ydb::StatusIds::UNSUPPORTED;
3335 case NYql::NDqProto::StatusIds::GENERIC_ERROR:
3436 default :
3537 return Ydb::StatusIds::GENERIC_ERROR;
@@ -63,12 +65,13 @@ NYql::NDqProto::StatusIds::StatusCode YdbStatusToDqStatus(Ydb::StatusIds::Status
6365 return NYql::NDqProto::StatusIds::CANCELLED;
6466 case Ydb::StatusIds::SCHEME_ERROR:
6567 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 ;
6870 case Ydb::StatusIds::EXTERNAL_ERROR:
6971 return NYql::NDqProto::StatusIds::EXTERNAL_ERROR;
72+ case Ydb::StatusIds::GENERIC_ERROR:
7073 default :
71- return NYql::NDqProto::StatusIds::UNSPECIFIED ;
74+ return NYql::NDqProto::StatusIds::GENERIC_ERROR ;
7275 }
7376}
7477
You can’t perform that action at this time.
0 commit comments