A clear and concise description of what the problem is.
OdpsDatabaseMetaData metaData = (OdpsDatabaseMetaData) connection.getMetaData();
OdpsResultSet columns = (OdpsResultSet) metaData.getColumns(null, null, table, null)
String columnName = columns.getString("COLUMN_NAME");
String typeName = columns.getString("TYPE_NAME");
目前感觉只能取到列名和字段类型,如何拿到哪个字段是分区字段呢?
A clear and concise description of what the problem is. OdpsDatabaseMetaData metaData = (OdpsDatabaseMetaData) connection.getMetaData(); OdpsResultSet columns = (OdpsResultSet) metaData.getColumns(null, null, table, null) String columnName = columns.getString("COLUMN_NAME"); String typeName = columns.getString("TYPE_NAME"); 目前感觉只能取到列名和字段类型,如何拿到哪个字段是分区字段呢?