Skip to content

Commit

Permalink
updated vertica with batch insert
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianwit@gmail.com authored and adrianwit@gmail.com committed Aug 2, 2019
1 parent 1642857 commit b0abdd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sql_dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,13 @@ func (d *odbcDialect) Init(manager Manager, connection Connection) error {
return nil
}


func (d *odbcDialect) CanPersistBatch() bool {
return true
}



func newOdbcDialect() *odbcDialect {
result := &odbcDialect{}
sqlDialect := NewSQLDatastoreDialect(verticaTableListSQL, "", verticaCurrentSchema, verticaSchemaSQL, "", "", "", "", verticaTableInfo, 0, result)
Expand Down

0 comments on commit b0abdd9

Please sign in to comment.