futurewei-cloud / chogori-opengauss

Other
2 stars 7 forks source link

add logic to populate kPgRowId column if it is not specified #61

Closed johnfangAFW closed 1 year ago

johnfangAFW commented 1 year ago

If a table does not have primary keys, a system column kPgRowId is added to make sure that we have a unique row for the data. Added logic to populate this column with auto-generated uuid if it is not included in the insertion data.