Skip to content

Commit

Permalink
Filter hidden primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjian2664 committed Dec 11, 2024
1 parent 77c2271 commit 515ea4f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public ConnectorInsertTableHandle beginInsert(ConnectorSession session, Connecto
ImmutableList.Builder<JdbcTypeHandle> columnJdbcTypeHandles = ImmutableList.builder();
for (ColumnHandle column : columns) {
JdbcColumnHandle columnHandle = (JdbcColumnHandle) column;
if (IGNITE_DUMMY_ID.equalsIgnoreCase(columnHandle.getColumnName())) {
continue;
}
columnNames.add(columnHandle.getColumnName());
columnTypes.add(columnHandle.getColumnType());
columnJdbcTypeHandles.add(columnHandle.getJdbcTypeHandle());
Expand Down

0 comments on commit 515ea4f

Please sign in to comment.