mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-25 03:00:48 -05:00
Update query JSON output to be consistent across pipelings - also handle duplicate column names. Closes #4317
This commit is contained in:
@@ -134,7 +134,10 @@ func (c *DbClient) ExecuteInSession(ctx context.Context, session *db_common.Data
|
||||
return
|
||||
}
|
||||
|
||||
colDefs := fieldDescriptionsToColumns(rows.FieldDescriptions(), session.Connection.Conn())
|
||||
colDefs, err := fieldDescriptionsToColumns(rows.FieldDescriptions(), session.Connection.Conn())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
result := queryresult.NewResult(colDefs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user