mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
Send progress only when requested by client in SelectObject (#6467)
This commit is contained in:
committed by
Nitish Tiwari
parent
66fda7a37f
commit
a0683d3c1f
@@ -69,7 +69,6 @@ type JSONType string
|
||||
// Constants for JSONTypes.
|
||||
const (
|
||||
JSONDocumentType JSONType = "Document"
|
||||
JSONStreamType = "Stream"
|
||||
JSONLinesType = "Lines"
|
||||
)
|
||||
|
||||
@@ -80,6 +79,7 @@ type ObjectSelectRequest struct {
|
||||
ExpressionType QueryExpressionType
|
||||
InputSerialization struct {
|
||||
CompressionType SelectCompressionType
|
||||
Parquet *struct{}
|
||||
CSV *struct {
|
||||
FileHeaderInfo CSVFileHeaderInfo
|
||||
RecordDelimiter string
|
||||
@@ -104,6 +104,9 @@ type ObjectSelectRequest struct {
|
||||
RecordDelimiter string
|
||||
}
|
||||
}
|
||||
RequestProgress struct {
|
||||
Enabled bool
|
||||
}
|
||||
}
|
||||
|
||||
// ObjectIdentifier carries key name for the object to delete.
|
||||
|
||||
Reference in New Issue
Block a user