huaxingao commented on pull request #30154: URL: https://github.com/apache/spark/pull/30154#issuecomment-719111570
> We also need to retrieve the table comment in `TableCatalog.loadTable` So we will retrieve table comment using a query and then set this comment in `JDBCOptions` in `JDBCTable`, right? This query is different for different databases, for example, MySQL has `SELECT table_comment FROM INFORMATION_SCHEMA.TABLES WHERE table_name='tablename'`, DB2 has `SELECT remarks from syscat.tables where tabname='tablename'` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
