Merge pull request #71 from ksaliya/master
Update setFireTriggers to have the correct configs
This commit is contained in:
Коммит
b30ca0300a
|
@ -87,8 +87,8 @@ private[spark] object BulkCopyUtils extends LoggingTrait {
|
|||
.getOrElse(SqlDBConfig.BulkCopyCheckConstraintsDefault.toString).toBoolean
|
||||
)
|
||||
copyOptions.setFireTriggers(
|
||||
config.get[String](SqlDBConfig.BulkCopyKeepIdentity)
|
||||
.getOrElse(SqlDBConfig.BulkCopyKeepIdentityDefault.toString).toBoolean
|
||||
config.get[String](SqlDBConfig.BulkCopyFireTriggers)
|
||||
.getOrElse(SqlDBConfig.BulkCopyFireTriggersDefault.toString).toBoolean
|
||||
)
|
||||
copyOptions.setKeepIdentity(
|
||||
config.get[String](SqlDBConfig.BulkCopyKeepIdentity)
|
||||
|
|
Загрузка…
Ссылка в новой задаче