Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTableByType ¶ added in v0.0.69
CreateTableByType is delegated to create the `CREATE TABLE` query for the given table tableName: Name of the table headers: List of headers necessary to preserve orders tableType: Map of headers:type for the given table
func PhysicalDelete ¶ added in v0.0.77
PhysicalDelete is delegated to perform the physical delete of the items marked as deleted
func SetAutoOptimization ¶ added in v0.0.77
SetAutoOptimization is delegated to scan all the tables in a redshift cluster and set the automatic diststyle and sortkey
Types ¶
type Conf ¶
type Result ¶ added in v0.0.71
type Result struct { Userid int `json:"userid,omitempty"` Slice int `json:"slice,omitempty"` Tbl int `json:"tbl,omitempty"` Starttime time.Time `json:"starttime,omitempty"` Session int `json:"session,omitempty"` Query int `json:"query,omitempty"` Filename string `json:"filename,omitempty"` Line_number int `json:"line_number,omitempty"` Colname string `json:"colname,omitempty"` Type string `json:"type,omitempty"` Col_length string `json:"col_length,omitempty"` Position int `json:"position,omitempty"` Raw_line string `json:"raw_line,omitempty"` Raw_field_value string `json:"raw_field_value,omitempty"` Err_code int `json:"err_code,omitempty"` Err_reason string `json:"err_reason,omitempty"` Is_partial string `json:"is_partial,omitempty"` Start_offset string `json:"start_offset,omitempty"` }
func GetCOPYErrors ¶ added in v0.0.71
GetCOPYErrors is delegated to retrieve the loading error related to the COPY commands, sorted by time
Click to show internal directories.
Click to hide internal directories.