-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
None
-
False
Which use case/requirement will be addressed by the proposed feature?
Generated avro schema should have doc (description) populated for the fields that have comments in the database.
Implementation ideas
It appears that table columns metadata is not fully used in JdbcConnection::readTableColumn method, namely, column.comment() is not set.
DatabaseMetaData::getColumns returns ResultSet with field #12 claimed to contain "REMARKS String => comment describing column (may be null)".
This should do the trick:
column.comment(columnMetadata.getString(12));