Skip to content

Commit

Permalink
fix: some sink requires primary key columns to be not null
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxiqian committed Aug 15, 2024
1 parent 4d9fb3d commit 2436f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/source/PhakerDatabase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.util
object PhakerDatabase {
val primaryKey: String = "id"
var columnList: Array[(String, DataType)] = Array(
(primaryKey, DataTypes.BIGINT)
(primaryKey, DataTypes.BIGINT.notNull)
)
var idCount: Long = 0
var colCount = 0
Expand Down

0 comments on commit 2436f46

Please sign in to comment.