TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

DatabaseMetaData.getColumns(),ResultRet.getString("TABLE_NAME") Can't get the correct value

Open caesarhawk opened this issue 5 years ago • 2 comments

Bug Description

DatabaseMetaData m_DBMetaData = con.getMetaData(); HikariProxyResultSet colRet = (HikariProxyResultSet) m_DBMetaData.getColumns(db,"%", tableName,"%"); colRet.getString("COLUMN_NAME");
// should return colunm name ,but return TABLE_NAME

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Type in '....'
  3. See error

Expected Behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
  • Memory, CPU, current Disk Space
  • TDengine Version [e.g. 1.6.1.7]

Additional Context Add any other context about the problem here.

caesarhawk avatar Mar 11 '21 11:03 caesarhawk

It is suggested to update your TDengine version to 2.0.x.

cpvmrd avatar Mar 22 '21 15:03 cpvmrd

This issue was closed because it has been inactive for too many days.

cpvmrd avatar Apr 13 '22 02:04 cpvmrd