In the DuckDBSchema.java file, there is a TODO comment indicating the need to implement an option to enable or disable rowids. Currently, the rowid column is added unconditionally, which may not be desirable in all use cases.
what I am talking about
// TODO: implement an option to enable/disable rowids
columns.add(new DuckDBColumn("rowid", new DuckDBCompositeDataType(DuckDBDataType.INT, 4), false, false));
what I'll change
- Implement a configuration option that allows users to enable or disable the inclusion of the
rowid column in the DuckDB schema.
- Modify the logic in the
DuckDBSchema class to check this configuration option before adding the rowid column.
- Update any relevant documentation to inform users about this new option and its implications.
Let me know if you need any clarifications on this....
In the
DuckDBSchema.javafile, there is a TODO comment indicating the need to implement an option to enable or disablerowids. Currently, therowidcolumn is added unconditionally, which may not be desirable in all use cases.what I am talking about
what I'll change
rowidcolumn in the DuckDB schema.DuckDBSchemaclass to check this configuration option before adding therowidcolumn.Let me know if you need any clarifications on this....