scanQuoted returns the index just past a quoted region starting at start (query[start] == quote), treating a doubled quote ('' or "") as an escape.
(query string, start int, quote byte)
| 950 | rowsAffected int64 |
| 951 | } |
| 952 | |
| 953 | func (r *flightExecResult) RowsAffected() (int64, error) { |
| 954 | return r.rowsAffected, nil |
| 955 | } |
| 956 | |
| 957 | // arrowColumnType implements ColumnTyper by mapping Arrow DataType to DuckDB type names. |
| 958 | type arrowColumnType struct { |
| 959 | dt arrow.DataType |
| 960 | exactDatabaseTypeName string |
| 961 | hasExactDatabaseType bool |
| 962 | } |
| 963 | |
| 964 | func newArrowColumnType(field arrow.Field) *arrowColumnType { |
| 965 | exactType, ok := field.Metadata.GetValue(sqlcore.ExactDatabaseTypeNameMetadataKey) |
| 966 | return &arrowColumnType{ |
| 967 | dt: field.Type, |