refactor: update column field names in ExtractionQuery struct; enhance logging in consume and process methods
This commit is contained in:
@@ -54,6 +54,7 @@ func (ex *GenericExtractor) ProcessPartition(
|
||||
Schema: tableInfo.Schema,
|
||||
Table: tableInfo.Table,
|
||||
PrimaryKey: tableInfo.PrimaryKey,
|
||||
Columns: columns,
|
||||
LowerLimit: dbwrapper.ExtractorQueryLimit{
|
||||
IsValid: partition.HasRange && partition.Range.Min > 0,
|
||||
IsInclusive: partition.Range.IsMinInclusive,
|
||||
@@ -66,6 +67,7 @@ func (ex *GenericExtractor) ProcessPartition(
|
||||
},
|
||||
}
|
||||
|
||||
// logrus.Debugf("Querying with: %+v (%s.%s)", query, tableInfo.Schema, tableInfo.Table)
|
||||
rows, err := ex.db.QueryFromObject(ctx, query)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user