We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f4194 commit 6e1726cCopy full SHA for 6e1726c
ydb/core/kqp/provider/yql_kikimr_datasource.cpp
@@ -710,6 +710,7 @@ class TKikimrDataSource : public TDataProviderBase {
710
const TString tablePath = key.GetTablePath();
711
auto& tableDesc = SessionCtx->Tables().GetTable(cluster, tablePath);
712
if (key.GetKeyType() == TKikimrKey::Type::Table) {
713
+ YQL_ENSURE(tableDesc.Metadata);
714
if (tableDesc.Metadata->Kind == EKikimrTableKind::External) {
715
if (tableDesc.Metadata->ExternalSource.SourceType == ESourceType::ExternalDataSource && tableDesc.Metadata->TableType == NYql::ETableType::Unknown) {
716
ctx.AddError(TIssue(node->Pos(ctx),
0 commit comments