Skip to content

Commit 4e3796a

Browse files
- Shims continue.
1 parent 5353925 commit 4e3796a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internal/stackql/primitivegenerator/statement_analyzer.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,14 @@ func (pb *standardPrimitiveGenerator) AnalyzeInsert(pbi planbuilderinput.PlanBui
10971097
if err != nil {
10981098
return err
10991099
}
1100+
_, isOpenapi := svc.(anysdk.OpenAPIService)
1101+
if !isOpenapi {
1102+
err = pb.buildRequestContext(node, tbl, nil, insertValOnlyRows)
1103+
if err != nil {
1104+
return err
1105+
}
1106+
return nil
1107+
}
11001108

11011109
if pb.PrimitiveComposer.IsAwait() && !method.IsAwaitable() {
11021110
return fmt.Errorf("method %s is not awaitable", method.GetName())

0 commit comments

Comments
 (0)