Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore materialized and alias cols infered during HTTP prepare batch #1214

Merged
merged 7 commits into from
Mar 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix indent
iyuroch authored Mar 1, 2024
commit ffc756bbd39eb85e44faba2022c066b797aabfac
3 changes: 1 addition & 2 deletions conn_http_batch.go
Original file line number Diff line number Diff line change
@@ -73,8 +73,7 @@ func (h *httpConnect) prepareBatch(ctx context.Context, query string, opts drive
return nil, err
}
// these column types cannot be specified in INSERT queries

if default_type == "MATERIALIZED" || default_type == "ALIAS" {
if default_type == "MATERIALIZED" || default_type == "ALIAS" {
continue
}
colNames = append(colNames, colName)