DTStack / DTStack/chunjun

beta1.14.4 sqlserver sink 指定user pwd 两列,报自增列错误

Aperta
#751 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
4.1k
Fork
1.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## General Question

{
"fields": [
{
"javaObject": "xxx",
"binarySection": {
"segments": [
{
"heapMemory": [
49,
50,
48,
55,
48,
54,
57,
53
],
"address": 16,
"addressLimit": 24,
"size": 8,
"allowWrap": true,
"isFreedAtomic": false
}
],
"offset": 0,
"sizeInBytes": 8
}
},
{
"javaObject": "cesicdc8",
"binarySection": {
"segments": [
{
"heapMemory": [
99,
101,
115,
105,
99,
100,
99,
56
],
"address": 16,
"addressLimit": 24,
"size": 8,
"allowWrap": true,
"isFreedAtomic": false
}
],
"offset": 0,
"sizeInBytes": 8
}
}
],
"kind": "UPDATE_AFTER"
}
这个是指定的两列,另外还有一个自增列ID,没有在sqlclient 体现
然后提交任务后
java.sql.BatchUpdateException: 当 IDENTITY_INSERT 设置为 ON 或某个复制用户向 NOT FOR REPLICATION 标识列中插入内容时,必须为表 'XXX' 中的标识列指定显式值。

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.